1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/ftp/downloader/files/patch-aa
Chris Piazza 09ff7a4ec6 Update to version 1.0b5
PR:		14017
Submitted by:	maintainer
1999-10-02 16:52:49 +00:00

23 lines
615 B
Plaintext

--- Makefile.orig Tue Sep 28 22:40:25 1999
+++ Makefile Tue Sep 28 22:41:24 1999
@@ -1,13 +1,13 @@
-CC = gcc
-CCPLUS = c++
+CC ?= gcc
+CCPLUS = ${CXX}
NLS=-DENABLE_NLS # Remove or comment this line to disable gettext
DEST=/usr/local
LOCALEDIR=$(DEST)/share/locale
-LIBS=-lpthread
-CFLAGS=-Wall -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-GTKLIBS=`gtk-config --libs`
-GTKFLAGS=`gtk-config --cflags`
+LIBS=-pthread
+CFLAGS+=-Wall -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
+GTKLIBS=`gtk12-config --libs`
+GTKFLAGS=`gtk12-config --cflags`
EXECC=$(CCPLUS) $(CFLAGS) $(GTKFLAGS) $(NLS) -DLOCALE=\"${LOCALEDIR}\"