Gentoo Archives: gentoo-commits

From: "Markus Dittrich (markusle)" <markusle@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-chemistry/babel/files: babel-1.6-makefile.patch
Date: Sun, 19 Oct 2008 14:53:13
Message-Id: E1KrZeZ-0004CH-Sf@stork.gentoo.org
1 markusle 08/10/19 14:53:11
2
3 Added: babel-1.6-makefile.patch
4 Log:
5 Added new and significantly cleaned up revision which also fixes pre-stripping and LDFLAGS issues (see bug #241184).
6 (Portage version: 2.2_rc12/cvs/Linux 2.6.26-SENTINEL-3 i686)
7
8 Revision Changes Path
9 1.1 sci-chemistry/babel/files/babel-1.6-makefile.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/babel/files/babel-1.6-makefile.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/babel/files/babel-1.6-makefile.patch?rev=1.1&content-type=text/plain
13
14 Index: babel-1.6-makefile.patch
15 ===================================================================
16 diff -Naur babel-1.6/Makefile babel-1.6.new/Makefile
17 --- babel-1.6/Makefile 1997-01-21 10:53:05.000000000 -0500
18 +++ babel-1.6.new/Makefile 2008-10-19 10:41:42.000000000 -0400
19 @@ -1,12 +1,16 @@
20 -CFLAGS = -O
21 +#Commented out to pull CFLAGS from make.conf
22 +#CFLAGS = -O
23
24 LIBFLAGS = -O -DLIBRARY
25
26 -CC = cc
27 +#Probably not necessary to specify gcc
28 +#CC = gcc
29
30 PROGRAM = babel
31
32 -LDFLAGS =
33 +DEST = ${DESTDIR}/$(PROGRAM)
34 +
35 +#LDFLAGS =
36
37 LIBS =
38
39 @@ -334,7 +338,8 @@
40 index:; ctags -wx $(HDRS) $(SRCS)
41
42 install: $(PROGRAM)
43 - install -s $(PROGRAM) $(DEST)
44 + install -d ${DESTDIR}
45 + install $(PROGRAM) $(DEST)
46
47 print:; $(PRINT) $(HDRS) $(SRCS)