1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/x11/wmbutton/files/patch-aa
Justin M. Seger d25cf0992c Import of x11/wmbutton v0.4
A 64x64 pixel application that displays nine buttons.
Each of these buttons can be configured via a configuration file to
run just about any application you'd like to.  Basically, if you can
type it in a shell command, wmbutton can run it.  It is based on wmcp,
by Ben Cohen.

PR:		ports/11055
Submitted by:	Jim Mock <jim@corp.au.triax.com>
1999-04-11 12:53:10 +00:00

23 lines
764 B
Plaintext

--- Makefile.orig Sat Apr 10 16:49:04 1999
+++ Makefile Sat Apr 10 16:51:43 1999
@@ -1,15 +1,15 @@
-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${LOCALBASE}/include -I/${X11BASE}/include
+LIBINC =-L${X11BASE}/lib -L${LOCALBASE}/lib
LIBS = -lX11 -lXpm -lXext
TARGET = wmbutton
OBJECTS = wmbutton.o readln.o
.c.o:
- gcc -O2 -c -Wall ${INCLUDES} ${FLAGS} $< -o $*.o
+ ${CC} ${CFLAGS} -c -Wall ${INCLUDES} ${CFLAGS} $< -o $*.o
${TARGET}: ${OBJECTS}
- gcc -O2 -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