diff --git a/srcpkgs/yeahwm/patches/fix-makefile.patch b/srcpkgs/yeahwm/patches/fix-makefile.patch index adabccaaa14..6beb352281a 100644 --- a/srcpkgs/yeahwm/patches/fix-makefile.patch +++ b/srcpkgs/yeahwm/patches/fix-makefile.patch @@ -2,8 +2,8 @@ Enable configurable CC and XROOT. Add missing $(LIBS) to link and remove strip. Add yeahwm.1 to install target. ---- a/Makefile 2004-11-21 19:11:04.000000000 +0100 -+++ b/Makefile 2015-10-25 23:20:45.306617941 +0100 +--- yeahwm-0.3.5.orig/Makefile ++++ yeahwm-0.3.5/Makefile @@ -1,11 +1,11 @@ # If you don't use CC -CC = gcc @@ -18,16 +18,17 @@ Add yeahwm.1 to install target. INCLUDES = -I$(XROOT)/include LDPATH = -L$(XROOT)/lib LIBS = -lX11 -@@ -55,7 +55,6 @@ +@@ -55,8 +55,7 @@ OBJS = $(SRCS:.c=.o) all: yeahwm yeahwm: $(OBJS) - $(CC) $(CFLAGS) $(OBJS) -o $@ $(LDFLAGS) +- strip yeahwm + $(CC) $(CFLAGS) $(OBJS) -o $@ $(LDFLAGS) $(LIBS) -- strip yeahwm allinone: -@@ -71,7 +71,7 @@ + cat yeahwm.h $(SRCS) | sed 's/^#include.*yeahwm.*$$//' > allinone.c +@@ -71,7 +70,7 @@ doinstall: if [ -f yeahwm.exe ]; then mv yeahwm.exe yeahwm; fi mkdir -p $(prefix)/bin $(prefix)/share/man/man1 install -s yeahwm $(prefix)/bin