* [gentoo-commits] gentoo-x86 commit in x11-plugins/wmlpq/files: wmlpq-makefile-ldflags.patch
@ 2011-05-19 19:11 Dane Smith (c1pher)
0 siblings, 0 replies; only message in thread
From: Dane Smith (c1pher) @ 2011-05-19 19:11 UTC (permalink / raw
To: gentoo-commits
c1pher 11/05/19 19:11:04
Added: wmlpq-makefile-ldflags.patch
Log:
x11-plugins/wmlpq: Revbump. Fix respect for toolchain. Fix respect for LDFLAGS wrt bug 351012.
(Portage version: 2.2.0_alpha34/cvs/Linux x86_64)
Revision Changes Path
1.1 x11-plugins/wmlpq/files/wmlpq-makefile-ldflags.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmlpq/files/wmlpq-makefile-ldflags.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmlpq/files/wmlpq-makefile-ldflags.patch?rev=1.1&content-type=text/plain
Index: wmlpq-makefile-ldflags.patch
===================================================================
--- /Makefile.orig 2009-01-16 17:01:47.000000000 +0100
+++ /Makefile 2009-01-16 17:04:18.000000000 +0100
@@ -2,11 +2,11 @@
CPPFLAGS = -I/usr/X11R6/include -I/usr/local/include
LIBS = -lXpm -lX11 -ldockapp
LDFLAGS = -L/usr/X11R6/lib -L/usr/local/lib
-CFLAGS = -O2 -Wall
+CFLAGS = -Wall
DFLAGS = -ggdb3 -Wall
+DESTDIR = /usr/bin/
wmlpq: wmlpq.c wmlpq-master.xpm
- cc $(CFLAGS) $(LDFLAGS) $(CPPFLAGS) -o wmlpq $(LIBS) wmlpq.c
+ $(CC) $(CFLAGS) $(LDFLAGS) $(CPPFLAGS) wmlpq.c -o wmlpq $(LIBS)
- strip wmlpq
debug: wmlpq.c wmlpq-master.xpm
@@ -18,10 +19,8 @@
rm -f wmlpq
install: wmlpq
- cp -f wmlpq /usr/local/bin/
- chmod 755 /usr/local/bin/wmlpq
- cp -f wmlpq.1x /usr/local/man/man1/
- chmod 644 /usr/local/man/man1/wmlpq.1x
+ cp -f wmlpq ${DESTDIR}
+ chmod 755 ${DESTDIR}/wmlpq
install-debian: wmlpq
cp -f wmlpq $(prefix)/usr/X11R6/bin/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-05-19 19:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-19 19:11 [gentoo-commits] gentoo-x86 commit in x11-plugins/wmlpq/files: wmlpq-makefile-ldflags.patch Dane Smith (c1pher)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox