summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2007-05-04 01:33:03 +0000
committerMarkus Dittrich <markusle@gentoo.org>2007-05-04 01:33:03 +0000
commit421f7c81ee4ac76ceb775476d1054055bc3521cc (patch)
tree587cc7341cd5c241ee82f3f2de53818bbc733f41 /sci-mathematics/yacas/files
parentfix digestentry.unused (diff)
downloadgentoo-2-421f7c81ee4ac76ceb775476d1054055bc3521cc.tar.gz
gentoo-2-421f7c81ee4ac76ceb775476d1054055bc3521cc.tar.bz2
gentoo-2-421f7c81ee4ac76ceb775476d1054055bc3521cc.zip
Added patch to fix the as-needed linking issues (see bug #167438).
(Portage version: 2.1.2.5)
Diffstat (limited to 'sci-mathematics/yacas/files')
-rw-r--r--sci-mathematics/yacas/files/yacas-1.0.63-as-needed.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sci-mathematics/yacas/files/yacas-1.0.63-as-needed.patch b/sci-mathematics/yacas/files/yacas-1.0.63-as-needed.patch
new file mode 100644
index 000000000000..6c401a012ef1
--- /dev/null
+++ b/sci-mathematics/yacas/files/yacas-1.0.63-as-needed.patch
@@ -0,0 +1,24 @@
+--- src/Makefile.am.orig 2007-05-02 15:28:49.000000000 +0200
++++ src/Makefile.am 2007-05-02 15:28:56.000000000 +0200
+@@ -65,16 +65,21 @@
+ pcre_maketables_stub.c pcre_pcreposix_stub.c pcre_get_stub.c \
+ pcre_plugin_stub.cpp filescanner_stub.cpp filescanner_plugin_stub.cpp
+
++libyacas_la_LIBADD = @LIBLTDL@
++
+ libcyacas_la_SOURCES = cyacas.cpp
++libcyacas_la_LIBADD = libyacasplatform.la libyacasnumbers.la -lstdc++
+
+ libyacasplatform_la_SOURCES = platmath.cpp grower.cpp stdstubs.cpp obmalloc.cpp lisphash.cpp \
+ lispstring.cpp mathutil.cpp yacasbase.cpp debugmem.cpp
+ libyacasplatform_la_DEPENDENCIES= fastprimes.c
++libyacasplatform_la_LIBADD = -lm
+
+ ## The -rpath flag is not added automatically because lib*numbers is listed in EXTRA_LTLIBRARIES,
+ ## so automake does not know in what directory it is installed.
+ libyacasnumbers_la_SOURCES = anumber.cpp yacasnumbers.cpp numbers.cpp
+ libyacasnumbers_la_LDFLAGS = -rpath $(libdir)
++libyacasnumbers_la_LIBADD = libyacas.la
+ libgmpnumbers_la_SOURCES = gmpnumbers.cpp numbers.cpp
+ libgmpnumbers_la_LDFLAGS = -rpath $(libdir)
+