Gentoo Archives: gentoo-commits

From: "David Shakaryan (omp)" <omp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-plugins/docker/files: docker-1.5-makefile.patch
Date: Thu, 24 Apr 2008 09:04:09
Message-Id: E1JoxN8-0007IR-Bb@stork.gentoo.org
1 omp 08/04/24 09:04:06
2
3 Added: docker-1.5-makefile.patch
4 Log:
5 Various QA fixes by Jakub Moc. (bug #207733)
6 (Portage version: 2.1.5_rc3)
7
8 Revision Changes Path
9 1.1 x11-plugins/docker/files/docker-1.5-makefile.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/docker/files/docker-1.5-makefile.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/docker/files/docker-1.5-makefile.patch?rev=1.1&content-type=text/plain
13
14 Index: docker-1.5-makefile.patch
15 ===================================================================
16 --- Makefile.orig 2002-11-20 11:20:49.000000000 +0100
17 +++ Makefile 2008-01-27 20:14:14.000000000 +0100
18 @@ -5,12 +5,12 @@
19 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
20
21 # Change this PREFIX to where you want docker to be installed
22 -PREFIX=/usr/local
23 +PREFIX=/usr
24 # Change this XLIBPATH to point to your X11 development package's installation
25 -XLIBPATH=/usr/X11R6/lib
26 +XLIBPATH=/usr/lib
27
28 # Sets some flags for stricter compiling
29 -CFLAGS=-pedantic -Wall -W -O
30 +CFLAGS+=-pedantic -Wall -W
31
32 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
33 # #
34 @@ -24,7 +24,7 @@
35 target=docker
36 sources=docker.c kde.c icons.c xproperty.c net.c
37 headers=docker.h kde.h icons.h xproperty.h net.h version.h
38 -extra=README COPYING version.h.in
39 +extra=README version.h.in
40
41 all: $(target) $(sources) $(headers)
42 @echo Build Successful
43 @@ -40,7 +40,8 @@
44 sed -e "s/@VERSION@/$(VERSION)/" version.h.in > $@
45
46 install: all
47 - install $(target) $(PREFIX)/bin/$(target)
48 + install -d $(DESTDIR)$(PREFIX)/bin
49 + install $(target) $(DESTDIR)$(PREFIX)/bin/$(target)
50
51 uninstall:
52 rm -f $(PREFIX)/$(target)
53
54
55
56 --
57 gentoo-commits@l.g.o mailing list