summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'hardened/dev-lang/ocaml/ocaml-3.09.3-r1.ebuild')
-rw-r--r--hardened/dev-lang/ocaml/ocaml-3.09.3-r1.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/hardened/dev-lang/ocaml/ocaml-3.09.3-r1.ebuild b/hardened/dev-lang/ocaml/ocaml-3.09.3-r1.ebuild
index f48756d..2af2e77 100644
--- a/hardened/dev-lang/ocaml/ocaml-3.09.3-r1.ebuild
+++ b/hardened/dev-lang/ocaml/ocaml-3.09.3-r1.ebuild
@@ -25,15 +25,16 @@ src_unpack() {
epatch "${FILESDIR}"/${P}-execheap.patch
# The configure script doesn't inherit previous defined variables,
- # overwriting previous declarations of $nativecccompopts, $bytecccompopts,
- # and $bytecclinkopts.
+ # overwriting previous declarations of bytecccompopts, bytecclinkopts,
+ # nativecccompopts and nativecclinkopts. Reported upstream as issue 0004267.
epatch "${FILESDIR}"/${P}-configure.patch
# The sed in the Makefile doesn't replace all occurences of @compiler@
- # in driver/ocamlcomp.sh.in.
+ # in driver/ocamlcomp.sh.in. Reported upstream as issue 0004268.
epatch "${FILESDIR}"/${P}-Makefile.patch
- # Change the configure script to add the CFLAGS to bytecccompopts
+ # Change the configure script to add the CFLAGS to bytecccompopts and
+ # LDFLAGS to bytecclinkopts.
sed -i -e "s,bytecccompopts=\"\",bytecccompopts=\"\${CFLAGS}\"," \
-e "s,bytecclinkopts=\"\",bytecclinkopts=\"\${LDFLAGS}\"," \
"${S}"/configure