voyageur    14/10/06 13:35:56

  Added:                wmbutton-0.7.0-Makefile.patch
  Removed:              wmbutton.desktop wmbutton-cflags.patch
  Log:
  Version bump with new homepage (also fixes #515186), remove some unused files
  
  (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with 
key C74525F2)

Revision  Changes    Path
1.1                  x11-plugins/wmbutton/files/wmbutton-0.7.0-Makefile.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmbutton/files/wmbutton-0.7.0-Makefile.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmbutton/files/wmbutton-0.7.0-Makefile.patch?rev=1.1&content-type=text/plain

Index: wmbutton-0.7.0-Makefile.patch
===================================================================
--- Makefile.orig       2014-10-06 15:20:41.300883734 +0200
+++ Makefile    2014-10-06 15:22:08.936939085 +0200
@@ -1,6 +1,6 @@
 INCLUDES =-I/usr/include -I/usr/local/include
-LIBINC =-L/usr/X11R6/lib -L/usr/include/lib
 LIBS = -lX11 -lXpm -lXext
+CC = gcc
 
 TARGET = wmbutton
 OBJECTS = wmbutton.o wmb_libs.o
@@ -14,13 +14,11 @@
 INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755
 INSTALL_FILE    = $(INSTALL) -p -o root -g root -m 644
 
-CFLAGS += -Wall -O2
-
 .c.o:
-       gcc -c ${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 




Reply via email to