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

23 lines
615 B
Plaintext
Raw Normal View History

--- 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}\"