diff options
Diffstat (limited to 'x11-plugins/wmbutton/files/wmbutton-0.6.1-Makefile.patch')
-rw-r--r-- | x11-plugins/wmbutton/files/wmbutton-0.6.1-Makefile.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/x11-plugins/wmbutton/files/wmbutton-0.6.1-Makefile.patch b/x11-plugins/wmbutton/files/wmbutton-0.6.1-Makefile.patch new file mode 100644 index 000000000000..7654c8cd40e7 --- /dev/null +++ b/x11-plugins/wmbutton/files/wmbutton-0.6.1-Makefile.patch @@ -0,0 +1,27 @@ +diff -ur wmbutton-0.6.1.orig/Makefile wmbutton-0.6.1/Makefile +--- wmbutton-0.6.1.orig/Makefile 2005-01-16 17:12:54.000000000 +0200 ++++ wmbutton-0.6.1/Makefile 2008-01-13 08:15:02.000000000 +0200 +@@ -1,19 +1,17 @@ +-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/usr/include/X11 + LIBS = -lX11 -lXpm -lXext ++CC = gcc + + TARGET = wmbutton + OBJECTS = wmbutton.o wmb_libs.o + +-CFLAGS += -c -Wall -O2 +- + all: ${TARGET} tags + + .c.o: +- gcc ${CFLAGS} ${INCLUDES} $< -o $*.o ++ ${CC} -c ${CFLAGS} ${INCLUDES} $< -o $*.o + + ${TARGET}: ${OBJECTS} +- gcc -o ${TARGET} ${OBJECTS} ${LIBINC} ${LIBS} ++ ${CC} ${LDFLAGS} ${OBJECTS} ${LIBS} -o ${TARGET} + + clean:: + for i in ${OBJECTS}; do if [ -e $$i ] ; then rm $$i; fi; done |