1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/security/gpasman/files/patch-ab
Steve Price 89b7d2a446 - Use GTK_CONFIG/GLIB_CONFIG instead of hardcoded gtk12-config/glib12-config
- Support CC/CFLAGS/PREIFX/LOCALBASE/X11BASE/MAKE/etc. properly

PR:		19623
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-07-07 19:59:26 +00:00

24 lines
589 B
Plaintext

--- src/Makefile.in.orig Fri Sep 3 00:50:10 1999
+++ src/Makefile.in Sat Jul 1 18:19:43 2000
@@ -26,9 +26,9 @@
CC = @CC@
-CFLAGS = @DEFS@ @CFLAGS@ $(shell @GTKCONFIG@ --cflags)
+CFLAGS = @DEFS@ @CFLAGS@ `@GTKCONFIG@ --cflags`
LDFLAGS = @LDFLAGS@
-LIBS = @LIBS@ $(shell @GTKCONFIG@ --libs)
+LIBS = @LIBS@ `@GTKCONFIG@ --libs`
INSTALL = @INSTALL@
SRCS = librc2.c file.c gpasman.c
@@ -39,7 +39,7 @@
$(CC) -o gpasman $(OBJS) $(LDFLAGS) $(LIBS)
.c.o: $(SRCS)
- $(CC) -O2 -Wall $(CFLAGS) -c -o $@ $<
+ $(CC) $(CFLAGS) -c -o $@ $<
clean:
rm -f $(OBJS) gpasman core *~ *.bak