summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2009-07-21 12:18:26 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2009-07-21 12:18:26 +0000
commit51f9e52e04efcf2ecabb29adb7c6028fdfccad47 (patch)
treec5b88b13a75c9dc8d43cca11718fd8d4afab92e8 /gnustep-apps
parentQA_DT_HASH for ignored LDFLAGS (diff)
downloadhistorical-51f9e52e04efcf2ecabb29adb7c6028fdfccad47.tar.gz
historical-51f9e52e04efcf2ecabb29adb7c6028fdfccad47.tar.bz2
historical-51f9e52e04efcf2ecabb29adb7c6028fdfccad47.zip
Fix compilation with forced --as-needed, bug #278135
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'gnustep-apps')
-rw-r--r--gnustep-apps/fisicalab/ChangeLog6
-rw-r--r--gnustep-apps/fisicalab/Manifest5
-rw-r--r--gnustep-apps/fisicalab/files/fisicalab-0.1-as-needed.patch18
-rw-r--r--gnustep-apps/fisicalab/fisicalab-0.1.ebuild8
4 files changed, 33 insertions, 4 deletions
diff --git a/gnustep-apps/fisicalab/ChangeLog b/gnustep-apps/fisicalab/ChangeLog
index 4fbecf0cde76..f7984ae4f74e 100644
--- a/gnustep-apps/fisicalab/ChangeLog
+++ b/gnustep-apps/fisicalab/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for gnustep-apps/fisicalab
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnustep-apps/fisicalab/ChangeLog,v 1.1 2009/03/16 11:50:31 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnustep-apps/fisicalab/ChangeLog,v 1.2 2009/07/21 12:18:26 voyageur Exp $
+
+ 21 Jul 2009; Bernard Cafarelli <voyageur@gentoo.org> fisicalab-0.1.ebuild,
+ +files/fisicalab-0.1-as-needed.patch:
+ Fix compilation with forced --as-needed, bug #278135
*fisicalab-0.1 (16 Mar 2009)
diff --git a/gnustep-apps/fisicalab/Manifest b/gnustep-apps/fisicalab/Manifest
index 6525cb131313..12496df084f2 100644
--- a/gnustep-apps/fisicalab/Manifest
+++ b/gnustep-apps/fisicalab/Manifest
@@ -1,4 +1,5 @@
+AUX fisicalab-0.1-as-needed.patch 545 RMD160 44d97f2f8795754f9f3680c9e39edd60790b6eb7 SHA1 32549bc382b65bd8e62213aa8de40a7a4e18c5b6 SHA256 eacf3188eecafae091a50c191d41106109d6ad705177a3f11432f0eb2fdb4b79
DIST fisicalab-0.1.tar.gz 2213488 RMD160 4cb33e423caea42b3dcce4d6d2f7982152a5b49e SHA1 eefbdc46e86f1642900909e1fb17e26be51ad28c SHA256 aebdfd215d765099995ec413ae3448af676eba0af92d75174072ba3747338b23
-EBUILD fisicalab-0.1.ebuild 564 RMD160 7b4b9d1ca2ca2a0d6d0b737987925f4a3f2b1420 SHA1 f677c8f85cf581d50e89af5285c6f22df5296477 SHA256 46dc82d65db864f4153ba370cd32e14ae642259503fc9658d8c9d99d651f6c7c
-MISC ChangeLog 362 RMD160 9b82e647a08d6bf3e75011b9556473df9d1a68ba SHA1 af4dc23306e931c1834a7134c039d874bb62cf96 SHA256 2e5bb83b62a8590c1fa35c66a46d787d0c62986362068d7ec26356e5e6a5b113
+EBUILD fisicalab-0.1.ebuild 634 RMD160 0fa26ee64a7a43be421db27b22a4ad9c79fe10cd SHA1 e5f117117603a07c81ec45701aa7590e34bf11e1 SHA256 4187438dbcc0fe3819be445ac4dd554f7305b5206d39f2ae4c8235e92744bf87
+MISC ChangeLog 535 RMD160 6c6a70ba087bdd34924ada75e97dba1bd3986de0 SHA1 6e56fcb629aca9a47be4a3423be4671ffa4496df SHA256 f4c9667503bf6d43b6ae5563de2c4c6b87cb6e3ab93a0951ef290fe7280c5feb
MISC metadata.xml 597 RMD160 f446061925b73a8fb9e14a285dd27a4b76d7c590 SHA1 350f20278ef7aadedf7024efe49f112c214dd99e SHA256 f77afc4e3dca99c46733fa2dc822281cec723779c1d5838bd92c4014dd83810f
diff --git a/gnustep-apps/fisicalab/files/fisicalab-0.1-as-needed.patch b/gnustep-apps/fisicalab/files/fisicalab-0.1-as-needed.patch
new file mode 100644
index 000000000000..298f2116ae03
--- /dev/null
+++ b/gnustep-apps/fisicalab/files/fisicalab-0.1-as-needed.patch
@@ -0,0 +1,18 @@
+--- GNUmakefile.preamble.orig 2009-07-21 13:59:31.000000000 +0200
++++ GNUmakefile.preamble 2009-07-21 13:59:33.000000000 +0200
+@@ -12,7 +12,7 @@
+ ADDITIONAL_CFLAGS +=
+
+ # Additional flags to pass to the linker
+-ADDITIONAL_LDFLAGS += -lgsl -lgslcblas
++ADDITIONAL_LDFLAGS +=
+
+ # Additional include directories the compiler should search
+ ADDITIONAL_INCLUDE_DIRS += -I/usr/include
+@@ -21,5 +21,5 @@
+ ADDITIONAL_LIB_DIRS += -L/usr/lib
+
+ # Additional GUI libraries to link
+-ADDITIONAL_GUI_LIBS +=
++ADDITIONAL_GUI_LIBS += -lgsl -lgslcblas
+
diff --git a/gnustep-apps/fisicalab/fisicalab-0.1.ebuild b/gnustep-apps/fisicalab/fisicalab-0.1.ebuild
index 5b5a48577a76..84ca83211067 100644
--- a/gnustep-apps/fisicalab/fisicalab-0.1.ebuild
+++ b/gnustep-apps/fisicalab/fisicalab-0.1.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnustep-apps/fisicalab/fisicalab-0.1.ebuild,v 1.1 2009/03/16 11:50:31 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnustep-apps/fisicalab/fisicalab-0.1.ebuild,v 1.2 2009/07/21 12:18:26 voyageur Exp $
+EAPI=2
inherit gnustep-2
DESCRIPTION="educational application to solve physics problems"
@@ -18,3 +19,8 @@ DEPEND=">=sci-libs/gsl-1.10
RDEPEND="${DEPEND}"
S=${WORKDIR}/${PN}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-as-needed.patch
+
+}