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
markusle    08/10/19 14:53:11

  Added:                babel-1.6-makefile.patch
  Log:
  Added new and significantly cleaned up revision which also fixes pre-stripping and LDFLAGS issues (see bug #241184).
  (Portage version: 2.2_rc12/cvs/Linux 2.6.26-SENTINEL-3 i686)

Revision  Changes    Path
1.1                  sci-chemistry/babel/files/babel-1.6-makefile.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/babel/files/babel-1.6-makefile.patch?rev=1.1&view=markup
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

Index: babel-1.6-makefile.patch
===================================================================
diff -Naur babel-1.6/Makefile babel-1.6.new/Makefile
--- babel-1.6/Makefile	1997-01-21 10:53:05.000000000 -0500
+++ babel-1.6.new/Makefile	2008-10-19 10:41:42.000000000 -0400
@@ -1,12 +1,16 @@
-CFLAGS        = -O 
+#Commented out to pull CFLAGS from make.conf
+#CFLAGS        = -O 
 
 LIBFLAGS      = -O -DLIBRARY 
 
-CC	      = cc
+#Probably not necessary to specify gcc
+#CC	      = gcc
 
 PROGRAM	      = babel
 
-LDFLAGS	      =
+DEST          = ${DESTDIR}/$(PROGRAM)
+
+#LDFLAGS	      =
 
 LIBS	      =
 
@@ -334,7 +338,8 @@
 index:;		ctags -wx $(HDRS) $(SRCS)
 
 install:	$(PROGRAM)
-		install -s $(PROGRAM) $(DEST)
+		install -d ${DESTDIR}
+		install $(PROGRAM) $(DEST)
 
 print:;		$(PRINT) $(HDRS) $(SRCS)