1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/misc/wmcp/files/patch-aa
Kevin Lo 57c2b7e65b - Update MASTER_SITES and WWW:
- Support X11BASE properly
- Remove USE_GMAKE
- WindowMaker -> Window Maker

PR: 20546
Submitted by: Ports Fury
2000-08-12 08:33:09 +00:00

26 lines
789 B
Plaintext

--- Makefile.orig Thu May 27 16:17:20 1999
+++ Makefile Fri Aug 11 02:28:17 2000
@@ -1,7 +1,7 @@
-INCLUDES =-I/usr/X11R6/include/X11 -I/usr/local/include -I/usr/include/X11R6/X11
-LIBINC =-L/usr/X11R6/lib -L/usr/include/lib
+INCLUDES = -I${X11BASE}/include/X11 -I${X11BASE}/include
+LIBINC = -L${X11BASE}/lib
LIBS = -lm -lX11 -lXpm -lXext
TARGET = wmcp
@@ -31,10 +31,10 @@
###################################################################
${OBJECTS}: ${SOURCE}
- gcc -g -c -Wall ${INCLUDES} ${FLAGS} $< -o $*.o
+ ${CC} ${CFLAGS} -c ${INCLUDES} ${FLAGS} $< -o $@
${TARGET}: ${OBJECTS}
- gcc -g -o ${TARGET} ${OBJECTS} ${LIBINC} ${LIBS}
+ ${CC} ${CFLAGS} -o ${TARGET} ${OBJECTS} ${LIBINC} ${LIBS}
clean::
for i in ${OBJECTS}; do if [ -e $$i ] ; then rm $$i; fi; done