summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-11-14 14:26:14 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-11-14 14:26:14 +0000
commit6dafd7c667bccd11deabe7839c942bf35e1063b8 (patch)
treeeb535596bc25f9d163e893d743c629d369faf639 /dev-lang/ocaml
parentRemove unused patches (diff)
downloadgentoo-2-6dafd7c667bccd11deabe7839c942bf35e1063b8.tar.gz
gentoo-2-6dafd7c667bccd11deabe7839c942bf35e1063b8.tar.bz2
gentoo-2-6dafd7c667bccd11deabe7839c942bf35e1063b8.zip
respect ldflags when building shared libs too
(Portage version: 2.2_rc14/cvs/Linux 2.6.27.5 x86_64)
Diffstat (limited to 'dev-lang/ocaml')
-rw-r--r--dev-lang/ocaml/ChangeLog6
-rw-r--r--dev-lang/ocaml/files/ocaml-3.11.0_beta1-configure.patch7
2 files changed, 10 insertions, 3 deletions
diff --git a/dev-lang/ocaml/ChangeLog b/dev-lang/ocaml/ChangeLog
index 0d41ddcd75f8..750f5bdfd482 100644
--- a/dev-lang/ocaml/ChangeLog
+++ b/dev-lang/ocaml/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/ocaml
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ChangeLog,v 1.152 2008/11/14 13:20:55 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ChangeLog,v 1.153 2008/11/14 14:26:14 aballier Exp $
+
+ 14 Nov 2008; Alexis Ballier <aballier@gentoo.org>
+ files/ocaml-3.11.0_beta1-configure.patch:
+ respect ldflags when building shared libs too
14 Nov 2008; Alexis Ballier <aballier@gentoo.org>
+files/ocaml-3.11.0_beta1-yaccldflags.patch, ocaml-3.11.0_beta1.ebuild:
diff --git a/dev-lang/ocaml/files/ocaml-3.11.0_beta1-configure.patch b/dev-lang/ocaml/files/ocaml-3.11.0_beta1-configure.patch
index 411904c37a60..67f68d6ff76c 100644
--- a/dev-lang/ocaml/files/ocaml-3.11.0_beta1-configure.patch
+++ b/dev-lang/ocaml/files/ocaml-3.11.0_beta1-configure.patch
@@ -11,7 +11,7 @@ Index: ocaml-3.11.0+beta1/configure
bytecccompopts=""
bytecclinkopts=""
dllccompopts=""
-@@ -1500,6 +1500,12 @@ fi
+@@ -1500,7 +1500,15 @@ fi
# Final twiddling of compiler options to work around known bugs
@@ -22,9 +22,12 @@ Index: ocaml-3.11.0+beta1/configure
+nativecclinkopts="$LDFLAGS $nativecclinkopts"
+nativecccompopts="$CFLAGS $nativecccompopts"
nativeccprofopts="$nativecccompopts"
++mksharedlib="$mksharedlib $LDFLAGS"
++mkmaindll="$mkmaindll $LDFLAGS"
case "$buggycc" in
gcc.2.96)
-@@ -1548,7 +1554,7 @@ echo "DEBUGGER=$debugger" >> Makefile
+ bytecccompopts="$bytecccompopts -fomit-frame-pointer"
+@@ -1548,7 +1556,7 @@ echo "DEBUGGER=$debugger" >> Makefile
echo "CC_PROFILE=$cc_profile" >> Makefile
echo "SYSTHREAD_SUPPORT=$systhread_support" >> Makefile
echo "PARTIALLD=$partialld" >> Makefile