1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/x11/bbrun/files/patch-Makefile
Kirill Ponomarev 8df8617cc8 Support CFLAGS properly
Support PLIST_FILES
Fix WWW: line

PR:		ports/70414
Submitted by:	Ports Fury
2004-08-13 15:54:54 +00:00

23 lines
628 B
Plaintext

--- Makefile.orig Wed Feb 11 13:57:17 2004
+++ Makefile Wed Aug 11 03:14:43 2004
@@ -1,7 +1,6 @@
-CC = gcc
-LIBDIR = -L/usr/lib -L/usr/X11R6/lib
-LIBS = -lXpm `pkg-config --libs gtk+-2.0`
-CFLAGS = `pkg-config --cflags gtk+-2.0`
+LIBDIR = -L${LOCALBASE}/lib -L${X11BASE}/lib
+LIBS = -lXpm `pkg-config --libs gtk+-2.0` ${LDFLAGS}
+CFLAGS += `pkg-config --cflags gtk+-2.0`
OBJS = bbrun.o \
../wmgeneral/wmgeneral.o \
@@ -11,7 +10,7 @@
all: bbrun
.c.o:
- $(CC) -g -c -O2 -Wall $< -o $*.o $(CFLAGS)
+ $(CC) -g -c -Wall $< -o $*.o $(CFLAGS)
bbrun: $(OBJS)
$(CC) -Wall -g -o bbrun $^ $(LIBDIR) $(LIBS)