Gentoo Archives: gentoo-commits

From: "Michele Noberasco (s4t4n)" <s4t4n@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-plugins/wmalms/files: wmalms-1.1.1-makefile.patch
Date: Fri, 01 Feb 2008 12:21:16
Message-Id: E1JKutN-0006lc-HT@stork.gentoo.org
1 s4t4n 08/02/01 12:21:13
2
3 Added: wmalms-1.1.1-makefile.patch
4 Log:
5 Revision bump, with patch to honour LDFLAGS, crosscompile, and general QA. Wiped out oldest version. Closes bug #207945
6 (Portage version: 2.1.3.19)
7
8 Revision Changes Path
9 1.1 x11-plugins/wmalms/files/wmalms-1.1.1-makefile.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmalms/files/wmalms-1.1.1-makefile.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmalms/files/wmalms-1.1.1-makefile.patch?rev=1.1&content-type=text/plain
13
14 Index: wmalms-1.1.1-makefile.patch
15 ===================================================================
16 --- Makefile.in.orig 2003-10-12 23:42:01.000000000 +0200
17 +++ Makefile.in 2008-01-28 19:49:08.000000000 +0100
18 @@ -45,7 +45,7 @@
19 rm -rf *.cache
20
21 wmalms: wmalms.dep $(MODULES)
22 - gcc -o wmalms $(CFLAGS) $(MODULES) $(LIBDIR) -lX11 -lXpm $(LIBEXT) $(LIBLMS)
23 + $(CC) -o wmalms $(CFLAGS) $(MODULES) $(LIBDIR) $(LDFLAGS) -lX11 -lXpm $(LIBEXT) $(LIBLMS)
24 @echo $(SEP)
25 @echo "You've done it!"
26 @echo "Now log in as root and type 'make install' to install the binary and documents"
27 @@ -60,11 +60,11 @@
28 $(CC) $(CFLAGS) $(INCLUDES) -MM $(patsubst %.o,%.c,$(MODULES)) > wmalms.dep
29
30 install:
31 - $(INSTALL) -d ${BINDIR}
32 - $(INSTALL) -s wmalms ${BINDIR}
33 + $(INSTALL) -d $(DESTDIR)${BINDIR}
34 + $(INSTALL) wmalms $(DESTDIR)${BINDIR}
35 ifneq ("$(WITH_RPM)", "yes")
36 - $(INSTALL) -d ${DOCDIR}
37 - $(INSTALL) README *.html ${DOCDIR}
38 + $(INSTALL) -d $(DESTDIR)${DOCDIR}
39 + $(INSTALL) README manual.html $(DESTDIR)${DOCDIR}
40 endif
41 @echo $(SEP)
42 @echo "Installation of wmalms ${VERSION} completed."
43
44
45
46 --
47 gentoo-commits@l.g.o mailing list