summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-06-16 19:42:14 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-06-16 19:42:14 +0000
commit5c041279e21818b16a8a53e4c9de44ecd469c6f9 (patch)
treeedc9e91c85ae2178d12467c834c1dccb799a3a68 /dev-lang
parentVersion bump (bug #218802, fixes bug #227473) (diff)
downloadhistorical-5c041279e21818b16a8a53e4c9de44ecd469c6f9.tar.gz
historical-5c041279e21818b16a8a53e4c9de44ecd469c6f9.tar.bz2
historical-5c041279e21818b16a8a53e4c9de44ecd469c6f9.zip
remove old version
Package-Manager: portage-2.1.5.5
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/ocaml/ChangeLog12
-rw-r--r--dev-lang/ocaml/Manifest21
-rw-r--r--dev-lang/ocaml/files/ocaml-3.09.3-Makefile.patch40
-rw-r--r--dev-lang/ocaml/files/ocaml-3.09.3-automagic.patch51
-rw-r--r--dev-lang/ocaml/files/ocaml-3.09.3-call_ld_with_proper_flags.patch30
-rw-r--r--dev-lang/ocaml/files/ocaml-3.09.3-configure.patch120
-rw-r--r--dev-lang/ocaml/files/ocaml-3.09.3-exec-stack-fixes.patch281
-rw-r--r--dev-lang/ocaml/files/ocaml-3.09.3-execheap.patch13
-rw-r--r--dev-lang/ocaml/files/ocaml-3.09.3-hppa-optimize-for-size-ocamlp4.patch25
-rw-r--r--dev-lang/ocaml/ocaml-3.09.3-r1.ebuild158
10 files changed, 22 insertions, 729 deletions
diff --git a/dev-lang/ocaml/ChangeLog b/dev-lang/ocaml/ChangeLog
index cdbdb44163e9..64cb71053813 100644
--- a/dev-lang/ocaml/ChangeLog
+++ b/dev-lang/ocaml/ChangeLog
@@ -1,6 +1,16 @@
# 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.146 2008/06/09 09:27:26 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ChangeLog,v 1.147 2008/06/16 19:42:13 aballier Exp $
+
+ 16 Jun 2008; Alexis Ballier <aballier@gentoo.org>
+ -files/ocaml-3.09.3-Makefile.patch, -files/ocaml-3.09.3-automagic.patch,
+ -files/ocaml-3.09.3-call_ld_with_proper_flags.patch,
+ -files/ocaml-3.09.3-configure.patch,
+ -files/ocaml-3.09.3-exec-stack-fixes.patch,
+ -files/ocaml-3.09.3-execheap.patch,
+ -files/ocaml-3.09.3-hppa-optimize-for-size-ocamlp4.patch,
+ -ocaml-3.09.3-r1.ebuild:
+ remove old version
09 Jun 2008; Raúl Porcel <armin76@gentoo.org> ocaml-3.10.2.ebuild:
alpha/ia64/sparc stable wrt #224893
diff --git a/dev-lang/ocaml/Manifest b/dev-lang/ocaml/Manifest
index 1bb0ef5dbb10..ff0ec0a2e5c2 100644
--- a/dev-lang/ocaml/Manifest
+++ b/dev-lang/ocaml/Manifest
@@ -1,10 +1,6 @@
-AUX ocaml-3.09.3-Makefile.patch 1489 RMD160 2405669fdfe7ac35191c59d51c36dcea4f43e2c0 SHA1 16d5cfa7e12d542928d90c144125fbc3deb049f7 SHA256 da690e61fd4f72e28ed4f41a0b7c18a26a11f9ad42d4d8aa95301c02317336b9
-AUX ocaml-3.09.3-automagic.patch 1849 RMD160 347c4b50ae624357a4e4a118652bce8c4e71c480 SHA1 622dcd31709e95048e6430c835f98de36898c80a SHA256 910c3a2f4d2a538fd721cf0e9c9a2e714e4d67862fdecd3adc60b92a145761ec
-AUX ocaml-3.09.3-call_ld_with_proper_flags.patch 1461 RMD160 fdd2f5ae2ea18b0d66b5a96fd820b57a2e393586 SHA1 7f38f7791eb210364ad27f0420e492cba144dffa SHA256 b022f9966bf33ca044d7180f15feaacb5a521e5a6200e65bd044aff7562e6ff6
-AUX ocaml-3.09.3-configure.patch 5206 RMD160 75f785d4950f15fea344f6a7a331ce199fb6d168 SHA1 b5df5f8d8574781738b876bde04de81f5ec945c0 SHA256 334d50f9a7a64988ef8ad6b6eedba98ec763fd4479689596f91e84f0c5a397ba
-AUX ocaml-3.09.3-exec-stack-fixes.patch 8941 RMD160 a0c9d70a3bcb925fbc63e357751659552517459b SHA1 bcdd9334e16c8ab3ddd785b4c8deac8d5de03f88 SHA256 ce6a563cd2f56148f576293b58220faca2e5fa79fe117a14aac42336a6099438
-AUX ocaml-3.09.3-execheap.patch 423 RMD160 28bc7612b0fc334f2cfb70775766a12f4e82b196 SHA1 9b3d917c2d489e17368b40e4009a27a540e48fde SHA256 36381a2a9cca239942cde3278f83b8cda6ee9fb1c6b31cb83cd4ffba0d8f0406
-AUX ocaml-3.09.3-hppa-optimize-for-size-ocamlp4.patch 1049 RMD160 cd5e0018024ad65c4ff0feedcb0bca066b100795 SHA1 e4a8c5dc405a3ec70065a1ef53d1dd4473cbc2f2 SHA256 4839c665ded8a44c67d9b394e3190091611e4ca3f5dfdd94c12849ccb90ea271
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX ocaml-3.10.0-automagic.patch 1849 RMD160 6986c47d9d2d9bdaf246f3399ccc59a5751fe86d SHA1 d999c1023c5aa07316d8405fde6ebf3a1bcb2b9f SHA256 f959da02f8b31f3d1ad5b76426d493b50c87dc3a6241204470866a321ece40f9
AUX ocaml-3.10.0-call-ld-with-proper-ldflags.patch 1497 RMD160 7eef667019e79f2877836f77a31466f9d301725b SHA1 36d95fb8b05e7bbff8e5f49a8f1faec5f11f0c78 SHA256 13d6cc7401c8374327e438517975fe9abf1b99030bb3243f2adb91d12570bc8d
AUX ocaml-3.10.0-configure.patch 5644 RMD160 1a63847a6e632f59fef8ff448b96bc45da15eae5 SHA1 6a030e48dd5fc399b985dd99e21b6c0e6b95a12e SHA256 f42e11db2d184532aa561b0b117f7ce5850bb50981ea997d08eee34f826360ac
@@ -12,10 +8,15 @@ AUX ocaml-3.10.0-exec-stack-fixes.patch 9395 RMD160 00d5e1ac85a090baeaf9b9cba2e2
AUX ocaml-3.10.2-tk85.patch 2414 RMD160 1b8dc94de1c90264684a300f5f31ffce02e94cec SHA1 98c7a48c167500d3e7d8c34e79124dc0cedc315d SHA256 ba539578fbec539ff481b5fc786612d5e85b01cc2d6eee22a2f9ed340d2d0fd3
AUX ocaml-rebuild.sh 1253 RMD160 c9a261dc50239cb3cf8ee890bf0fa314903421d9 SHA1 7cfe5d413de41b1ae3761903549c6cb9af9b02b2 SHA256 99abe161795c6b6c7b4a180e3cc850fee2d175f9123858883ae181cc96851cae
DIST ocaml-3.08.4.tar.bz2 2054019 RMD160 448ed9af56cacb9c32208d064e1c9732a2086bd2 SHA1 d9eb54611d24f9e1c33736f12c7ba87412057cbb SHA256 8d4322791d0dd424f355636ba50934ac17dbefde269736dad0da0683c8888684
-DIST ocaml-3.09.3.tar.bz2 2038617 RMD160 fdc124218c556c62c897ee6720970279e2d5426b SHA1 5d63c6e0d13463f85c0d5147d641d2bceef87d6b SHA256 607842b4f4917a759f19541a421370a834f5b948855ca54cef40d22b19a0934f
DIST ocaml-3.10.2.tar.bz2 2284860 RMD160 f631230b090dbd9bf9a9f71631cd0347c033cbb1 SHA1 f604580bf2943891d8faf265eeb900bbe90abce0 SHA256 3755a32da1a7490d47fff7838c12c754d3fcfe69d7c9ff2358704259dc477c58
EBUILD ocaml-3.08.4.ebuild 2548 RMD160 b1f9ce0b2df4c8221e5c09e03ae8e7151100ad6c SHA1 193867386e022acdfcf6792353be23ee0f71d73d SHA256 78a55619ad7e4e2404a00e275abd4907d2873899ee3ef633b0d127e39a9b98e1
-EBUILD ocaml-3.09.3-r1.ebuild 5527 RMD160 6f0f629b140dbe1b85f09e7a178ca73fee58fb4d SHA1 fd65f3e6048994cf76872cab7ee89b8b28a0251e SHA256 14e63cf0f62a5d916fc2ce3a04fa44fb1a98b8a806c3885f0c13d90ecb7eebc0
EBUILD ocaml-3.10.2.ebuild 4456 RMD160 dc6243818beef5bb8a0b9201096a89790096a98a SHA1 380bcf054d07569f692f47fefcd533f2bea810c1 SHA256 3212630ad90031bf88d9b21ba6cc690b8790b8d71dfefd6dd56ddaa46a51543e
-MISC ChangeLog 22820 RMD160 11fbcc3954a31384bb5d759ba548b204906229b3 SHA1 ce82175cf62ee3e3fc0ec137644037ac5997ad9f SHA256 f3202ac3d0cc969e27dcb9fd59ca62193a6c2064f8b359ddf3f1cfb986b76984
+MISC ChangeLog 23235 RMD160 1f08a2dbce1ed57ad71e53a31cdce85972164c8d SHA1 fbed6f53a00eca535171d52c98df5b57d8cdb0c0 SHA256 6e7ffd47b2188ba160a83c247e324c85161d1ebe5cdb3acdd181902dc405205f
MISC metadata.xml 155 RMD160 dfaa057e679b01302a807c75a32a910098b26809 SHA1 94024f83dcacbb53e92be090dd0f994ec93dc90d SHA256 118048376ebb76f57628b0819f3de4856e73959c2578c88715d37ea2d1e0af81
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkhWwl4ACgkQvFcC4BYPU0qx0wCeJkaeNJ/v3Gw53Ux4uQarVayv
+/SAAniHSMI5aN8rpH6pBgtfYYY3o8pwH
+=Ktg4
+-----END PGP SIGNATURE-----
diff --git a/dev-lang/ocaml/files/ocaml-3.09.3-Makefile.patch b/dev-lang/ocaml/files/ocaml-3.09.3-Makefile.patch
deleted file mode 100644
index c2ea2d443328..000000000000
--- a/dev-lang/ocaml/files/ocaml-3.09.3-Makefile.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-Index: ocaml-3.09.3/Makefile
-===================================================================
---- ocaml-3.09.3.orig/Makefile
-+++ ocaml-3.09.3/Makefile
-@@ -282,7 +282,7 @@ clean:: partialclean
-
- ocamlc: $(COMPOBJS)
- $(CAMLC) $(LINKFLAGS) -o ocamlc $(COMPOBJS)
-- @sed -e 's|@compiler@|$$topdir/boot/ocamlrun $$topdir/ocamlc|' \
-+ @sed -e 's|@compiler@|$$topdir/boot/ocamlrun $$topdir/ocamlc|g' \
- driver/ocamlcomp.sh.in > ocamlcomp.sh
- @chmod +x ocamlcomp.sh
-
-@@ -293,7 +293,7 @@ partialclean::
-
- ocamlopt: $(OPTOBJS)
- $(CAMLC) $(LINKFLAGS) -o ocamlopt $(OPTOBJS)
-- @sed -e 's|@compiler@|$$topdir/boot/ocamlrun $$topdir/ocamlopt|' \
-+ @sed -e 's|@compiler@|$$topdir/boot/ocamlrun $$topdir/ocamlopt|g' \
- driver/ocamlcomp.sh.in > ocamlcompopt.sh
- @chmod +x ocamlcompopt.sh
-
-@@ -383,7 +383,7 @@ ocamlc.opt: $(COMPOBJS:.cmo=.cmx)
- $(CAMLOPT) $(LINKFLAGS) -ccopt "$(BYTECCLINKOPTS)" -o ocamlc.opt \
- $(COMPOBJS:.cmo=.cmx) \
- asmrun/meta.o asmrun/dynlink.o -cclib "$(BYTECCLIBS)"
-- @sed -e 's|@compiler@|$$topdir/ocamlc.opt|' \
-+ @sed -e 's|@compiler@|$$topdir/ocamlc.opt|g' \
- driver/ocamlcomp.sh.in > ocamlcomp.sh
- @chmod +x ocamlcomp.sh
-
-@@ -394,7 +394,7 @@ partialclean::
-
- ocamlopt.opt: $(OPTOBJS:.cmo=.cmx)
- $(CAMLOPT) $(LINKFLAGS) -o ocamlopt.opt $(OPTOBJS:.cmo=.cmx)
-- @sed -e 's|@compiler@|$$topdir/ocamlopt.opt|' \
-+ @sed -e 's|@compiler@|$$topdir/ocamlopt.opt|g' \
- driver/ocamlcomp.sh.in > ocamlcompopt.sh
- @chmod +x ocamlcompopt.sh
-
diff --git a/dev-lang/ocaml/files/ocaml-3.09.3-automagic.patch b/dev-lang/ocaml/files/ocaml-3.09.3-automagic.patch
deleted file mode 100644
index f31318baaa3d..000000000000
--- a/dev-lang/ocaml/files/ocaml-3.09.3-automagic.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-Index: ocaml-3.09.3/configure
-===================================================================
---- ocaml-3.09.3.orig/configure
-+++ ocaml-3.09.3/configure
-@@ -31,6 +31,8 @@ x11_include_dir=''
- x11_lib_dir=''
- tk_wanted=yes
- pthread_wanted=yes
-+graph_wanted=yes
-+dbm_wanted=yes
- tk_defs=''
- tk_libs=''
- tk_x11=yes
-@@ -86,6 +88,10 @@ while : ; do
- ;; # Ignored for backward compatibility
- -no-pthread*|--no-pthread*)
- pthread_wanted=no;;
-+ -no-dbm|--no-dbm)
-+ dbm_wanted=no;;
-+ -no-graph|--no-graph)
-+ graph_wanted=no;;
- -no-tk|--no-tk)
- tk_wanted=no;;
- -tkdefs*|--tkdefs*)
-@@ -1219,7 +1225,7 @@ do
- done
-
-
--if test "$x11_include" = "not found" || test "$x11_link" = "not found"
-+if test "$x11_include" = "not found" || test "$x11_link" = "not found" || test "$graph_wanted" = "no"
- then
- echo "X11 not found, the \"graph\" library will not be supported."
- x11_include=""
-@@ -1267,7 +1273,7 @@ for dir in /usr/include /usr/include/db1
- break
- fi
- done
--if test "$dbm_include" = "not found" || test "$dbm_link" = "not found"; then
-+if test "$dbm_include" = "not found" || test "$dbm_link" = "not found" || test "$dbm_wanted" = "no"; then
- echo "NDBM not found, the \"dbm\" library will not be supported."
- else
- echo "NDBM found (in $dbm_include)"
-@@ -1506,7 +1512,7 @@ echo " $otherlibraries"
- echo "Configuration for the \"num\" library:"
- echo " target architecture ...... $bng_arch (asm level $bng_asm_level)"
-
--if test "$x11_include" != "not found" && test "$x11_lib" != "not found"; then
-+if test "$x11_include" != "not found" && test "$x11_lib" != "not found" && test "$graph_wanted" != "no"; then
- echo "Configuration for the \"graph\" library:"
- echo " options for compiling .... $x11_include"
- echo " options for linking ...... $x11_link"
diff --git a/dev-lang/ocaml/files/ocaml-3.09.3-call_ld_with_proper_flags.patch b/dev-lang/ocaml/files/ocaml-3.09.3-call_ld_with_proper_flags.patch
deleted file mode 100644
index edf040570d99..000000000000
--- a/dev-lang/ocaml/files/ocaml-3.09.3-call_ld_with_proper_flags.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-As we now support LDFLAGS in NATIVECCLINKOPTS
-it can happen that -Wl,--foo,--bar option is in that variable
-As ocaml happens to call ld with NATIVECCLINKOPTS
-we have to "translate" it so that ld doesn't bail out with unrecognized option
-Initial patch from Julien Cristau : http://caml.inria.fr/mantis/view.php?id=4142
-Modified a bit to catch comma separated options
-Index: ocaml-3.09.3/Makefile
-===================================================================
---- ocaml-3.09.3.orig/Makefile
-+++ ocaml-3.09.3/Makefile
-@@ -314,6 +314,8 @@ partialclean::
- rm -f ocaml toplevel/toplevellib.cma
-
- # The configuration file
-+comma = ,
-+Wl = -Wl,
-
- utils/config.ml: utils/config.mlp config/Makefile
- @rm -f utils/config.ml
-@@ -324,8 +326,8 @@ utils/config.ml: utils/config.mlp config
- -e 's|%%BYTELINK%%|$(BYTECC) $(BYTECCLINKOPTS)|' \
- -e 's|%%NATIVECC%%|$(NATIVECC) $(NATIVECCCOMPOPTS)|' \
- -e 's|%%NATIVELINK%%|$(NATIVECC) $(NATIVECCLINKOPTS)|' \
-- -e 's|%%PARTIALLD%%|ld -r $(NATIVECCLINKOPTS)|' \
-- -e 's|%%PACKLD%%|ld -r $(NATIVECCLINKOPTS)|' \
-+ -e 's|%%PARTIALLD%%|ld -r $(subst $(comma), ,$(subst $(Wl),,$(NATIVECCLINKOPTS)))|' \
-+ -e 's|%%PACKLD%%|ld -r $(subst $(comma), ,$(subst $(Wl),,$(NATIVECCLINKOPTS)))|' \
- -e 's|%%BYTECCLIBS%%|$(BYTECCLIBS)|' \
- -e 's|%%NATIVECCLIBS%%|$(NATIVECCLIBS)|' \
- -e 's|%%RANLIBCMD%%|$(RANLIBCMD)|' \
diff --git a/dev-lang/ocaml/files/ocaml-3.09.3-configure.patch b/dev-lang/ocaml/files/ocaml-3.09.3-configure.patch
deleted file mode 100644
index e598ceedda33..000000000000
--- a/dev-lang/ocaml/files/ocaml-3.09.3-configure.patch
+++ /dev/null
@@ -1,120 +0,0 @@
-Index: ocaml-3.09.3/configure
-===================================================================
---- ocaml-3.09.3.orig/configure
-+++ ocaml-3.09.3/configure
-@@ -240,65 +240,65 @@ exe=""
- case "$bytecc,$host" in
- cc,*-*-nextstep*)
- # GNU C extensions disabled, but __GNUC__ still defined!
-- bytecccompopts="-fno-defer-pop $gcc_warnings -U__GNUC__ -posix"
-- bytecclinkopts="-posix";;
-+ bytecccompopts="$bytecccompopts -fno-defer-pop $gcc_warnings -U__GNUC__ -posix"
-+ bytecclinkopts="$bytecclinkopts -posix";;
- *,*-*-rhapsody*)
- # Almost the same as NeXTStep
-- bytecccompopts="-fno-defer-pop $gcc_warnings -DSHRINKED_GNUC"
-+ bytecccompopts="$bytecccompopts -fno-defer-pop $gcc_warnings -DSHRINKED_GNUC"
- mathlib="";;
- *,*-*-darwin*)
- # Almost the same as rhapsody
-- bytecccompopts="-fno-defer-pop -no-cpp-precomp $gcc_warnings"
-+ bytecccompopts="$bytecccompopts -fno-defer-pop -no-cpp-precomp $gcc_warnings"
- mathlib="";;
- *,*-*-beos*)
-- bytecccompopts="-fno-defer-pop $gcc_warnings"
-+ bytecccompopts="$bytecccompopts -fno-defer-pop $gcc_warnings"
- # No -lm library
- mathlib="";;
- gcc,alpha*-*-osf*)
-- bytecccompopts="-fno-defer-pop $gcc_warnings"
-+ bytecccompopts="$bytecccompopts -fno-defer-pop $gcc_warnings"
- if cc="$bytecc" sh ./hasgot -mieee; then
- bytecccompopts="-mieee $bytecccompopts";
- fi
- # Put code and static data in lower 4GB
-- bytecclinkopts="-Wl,-T,12000000 -Wl,-D,14000000"
-+ bytecclinkopts="$bytecclinkopts -Wl,-T,12000000 -Wl,-D,14000000"
- # Tell gcc that we can use 32-bit code addresses for threaded code
- echo "#define ARCH_CODE32" >> m.h;;
- cc,alpha*-*-osf*)
-- bytecccompopts="-std1 -ieee";;
-+ bytecccompopts="$bytecccompopts -std1 -ieee";;
- gcc,alpha*-*-linux*)
- if cc="$bytecc" sh ./hasgot -mieee; then
- bytecccompopts="-mieee $bytecccompopts";
- fi;;
- cc,mips-*-irix6*)
- # Add -n32 flag to ensure compatibility with native-code compiler
-- bytecccompopts="-n32"
-+ bytecccompopts="$bytecccompopts -n32"
- # Turn off warning "unused library"
-- bytecclinkopts="-n32 -Wl,-woff,84";;
-+ bytecclinkopts="$bytecclinkopts -n32 -Wl,-woff,84";;
- cc*,mips-*-irix6*)
- # (For those who want to force "cc -64")
- # Turn off warning "unused library"
-- bytecclinkopts="-Wl,-woff,84";;
-+ bytecclinkopts="$bytecclinkopts -Wl,-woff,84";;
- *,alpha*-*-unicos*)
- # For the Cray T3E
-- bytecccompopts="-DUMK";;
-+ bytecccompopts="$bytecccompopts -DUMK";;
- gcc*,powerpc-*-aix*)
- # Avoid name-space pollution by requiring Unix98-conformant includes
-- bytecccompopts="-fno-defer-pop $gcc_warnings -D_XOPEN_SOURCE=500";;
-+ bytecccompopts="$bytecccompopts -fno-defer-pop $gcc_warnings -D_XOPEN_SOURCE=500";;
- *,powerpc-*-aix*)
-- bytecccompopts="-D_XOPEN_SOURCE=500";;
-+ bytecccompopts="$bytecccompopts -D_XOPEN_SOURCE=500";;
- gcc*,*-*-cygwin*)
-- bytecccompopts="-fno-defer-pop $gcc_warnings -U_WIN32"
-+ bytecccompopts="$bytecccompopts -fno-defer-pop $gcc_warnings -U_WIN32"
- exe=".exe"
- ostype="Cygwin";;
- gcc*,x86_64-*-linux*)
-- bytecccompopts="-fno-defer-pop $gcc_warnings"
-+ bytecccompopts="$bytecccompopts -fno-defer-pop $gcc_warnings"
- # Tell gcc that we can use 32-bit code addresses for threaded code
- # unless we are compiled for a shared library (-fPIC option)
- echo "#ifndef __PIC__" >> m.h
- echo "# define ARCH_CODE32" >> m.h
- echo "#endif" >> m.h;;
- gcc*)
-- bytecccompopts="-fno-defer-pop $gcc_warnings";;
-+ bytecccompopts="$bytecccompopts -fno-defer-pop $gcc_warnings";;
- esac
-
- # Configure compiler to use in further tests
-@@ -609,22 +609,22 @@ else
- nativecc="$ccoption"
- fi
-
--nativecccompopts=''
--nativecclinkopts=''
-+nativecccompopts="${CFLAGS}"
-+nativecclinkopts="${LDFLAGS}"
- nativeccrpath="$byteccrpath"
-
- case "$arch,$nativecc,$system,$host_type" in
-- alpha,cc*,digital,*) nativecccompopts=-std1;;
-- mips,cc*,irix,*) nativecccompopts=-n32
-- nativecclinkopts="-n32 -Wl,-woff,84";;
-- *,*,nextstep,*) nativecccompopts="$gcc_warnings -U__GNUC__ -posix"
-- nativecclinkopts="-posix";;
-+ alpha,cc*,digital,*) nativecccompopts="$nativecccompopts -std1";;
-+ mips,cc*,irix,*) nativecccompopts="$nativecccompopts -n32"
-+ nativecclinkopts="$nativecclinkopts -n32 -Wl,-woff,84";;
-+ *,*,nextstep,*) nativecccompopts="$nativecccompopts $gcc_warnings -U__GNUC__ -posix"
-+ nativecclinkopts="$nativecclinkopts -posix";;
- *,*,rhapsody,*darwin[1-5].*)
-- nativecccompopts="$gcc_warnings -DSHRINKED_GNUC";;
-+ nativecccompopts="$nativecccompopts $gcc_warnings -DSHRINKED_GNUC";;
- *,*,rhapsody,*)
-- nativecccompopts="$gcc_warnings -DDARWIN_VERSION_6 $dl_defs";;
-+ nativecccompopts="$nativecccompopts $gcc_warnings -DDARWIN_VERSION_6 $dl_defs";;
- *,gcc*,cygwin,*) nativecccompopts="$gcc_warnings -U_WIN32";;
-- *,gcc*,*,*) nativecccompopts="$gcc_warnings";;
-+ *,gcc*,*,*) nativecccompopts="$nativecccompopts $gcc_warnings";;
- esac
-
- asflags=''
diff --git a/dev-lang/ocaml/files/ocaml-3.09.3-exec-stack-fixes.patch b/dev-lang/ocaml/files/ocaml-3.09.3-exec-stack-fixes.patch
deleted file mode 100644
index 3d46d4aede38..000000000000
--- a/dev-lang/ocaml/files/ocaml-3.09.3-exec-stack-fixes.patch
+++ /dev/null
@@ -1,281 +0,0 @@
---- ocaml-3.09.3/asmrun/alpha.S.old 2006-11-02 18:53:12.000000000 +0100
-+++ ocaml-3.09.3/asmrun/alpha.S 2006-11-02 18:53:12.000000000 +0100
-@@ -438,3 +438,7 @@
- .word -1 /* negative frame size => use callback link */
- .word 0 /* no roots here */
- .align 3
-+#ifdef __ELF__
-+.section .note.GNU-stack,"",%progbits
-+#endif
-+
---- ocaml-3.09.3/asmrun/amd64.S.old 2006-11-02 18:53:12.000000000 +0100
-+++ ocaml-3.09.3/asmrun/amd64.S 2006-11-02 18:53:12.000000000 +0100
-@@ -334,3 +334,7 @@
- .align 16
- caml_absf_mask:
- .quad 0x7FFFFFFFFFFFFFFF, 0xFFFFFFFFFFFFFFFF
-+#ifdef __ELF__
-+.section .note.GNU-stack,"",%progbits
-+#endif
-+
---- ocaml-3.09.3/asmrun/arm.S.old 2006-11-02 18:53:12.000000000 +0100
-+++ ocaml-3.09.3/asmrun/arm.S 2006-11-02 18:53:12.000000000 +0100
-@@ -337,3 +337,7 @@
- .short -1 /* negative frame size => use callback link */
- .short 0 /* no roots */
- .align 2
-+#ifdef __ELF__
-+.section .note.GNU-stack,"",%progbits
-+#endif
-+
---- ocaml-3.09.3/asmrun/hppa.S.old 2006-11-02 18:53:12.000000000 +0100
-+++ ocaml-3.09.3/asmrun/hppa.S 2006-11-02 18:53:12.000000000 +0100
-@@ -532,3 +532,7 @@
- .long L104 + 3 /* return address into callback */
- .short -1 /* negative frame size => use callback link */
- .short 0 /* no roots */
-+#ifdef __ELF__
-+.section .note.GNU-stack,"",%progbits
-+#endif
-+
---- ocaml-3.09.3/asmrun/i386.S.old 2006-11-02 18:53:12.000000000 +0100
-+++ ocaml-3.09.3/asmrun/i386.S 2006-11-02 18:53:12.000000000 +0100
-@@ -371,3 +371,7 @@
- #ifdef __ELF__
- .section .note.GNU-stack,"",%progbits
- #endif
-+#ifdef __ELF__
-+.section .note.GNU-stack,"",%progbits
-+#endif
-+
---- ocaml-3.09.3/asmrun/ia64.S.old 2006-11-02 18:53:12.000000000 +0100
-+++ ocaml-3.09.3/asmrun/ia64.S 2006-11-02 18:53:12.000000000 +0100
-@@ -528,3 +528,7 @@
-
- .common caml_saved_bsp#, 8, 8
- .common caml_saved_rnat#, 8, 8
-+#ifdef __ELF__
-+.section .note.GNU-stack,"",%progbits
-+#endif
-+
---- ocaml-3.09.3/asmrun/m68k.S.old 2006-11-02 18:53:12.000000000 +0100
-+++ ocaml-3.09.3/asmrun/m68k.S 2006-11-02 18:53:12.000000000 +0100
-@@ -242,3 +242,7 @@
- .long L107 | return address into callback
- .word -1 | negative frame size => use callback link
- .word 0 | no roots here
-+#ifdef __ELF__
-+.section .note.GNU-stack,"",%progbits
-+#endif
-+
---- ocaml-3.09.3/asmrun/power-elf.S.old 2006-11-02 18:53:12.000000000 +0100
-+++ ocaml-3.09.3/asmrun/power-elf.S 2006-11-02 18:53:12.000000000 +0100
-@@ -419,3 +419,7 @@
- .short -1 /* negative size count => use callback link */
- .short 0 /* no roots here */
-
-+#ifdef __ELF__
-+.section .note.GNU-stack,"",%progbits
-+#endif
-+
---- ocaml-3.09.3/asmrun/sparc.S.old 2006-11-02 18:53:12.000000000 +0100
-+++ ocaml-3.09.3/asmrun/sparc.S 2006-11-02 18:53:12.000000000 +0100
-@@ -405,3 +405,7 @@
- .type Caml_raise_exception, #function
- .type Caml_system__frametable, #object
- #endif
-+#ifdef __ELF__
-+.section .note.GNU-stack,"",%progbits
-+#endif
-+
-diff -ru ../ref/ocaml-3.09.3/asmcomp/alpha/emit.mlp ocaml-3.09.3/asmcomp/alpha/emit.mlp
---- ../ref/ocaml-3.09.3/asmcomp/alpha/emit.mlp 2006-03-29 16:49:19.000000000 +0200
-+++ ocaml-3.09.3/asmcomp/alpha/emit.mlp 2006-11-03 10:35:40.000000000 +0100
-@@ -811,6 +811,12 @@
- ` .data\n`;
- List.iter emit_item l
-
-+(* Mark stack as non executable *)
-+let nx_stack() =
-+ if Config.system = "linux" then
-+ ` .section .note.GNU-stack,\"\",%progbits\n`
-+
-+
- (* Beginning / end of an assembly file *)
-
- let begin_assembly() =
-@@ -843,6 +849,7 @@
- `{emit_symbol lbl_begin}:\n`
-
- let end_assembly () =
-+ nx_stack();
- let lbl_end = Compilenv.make_symbol (Some "code_end") in
- ` .text\n`;
- ` .globl {emit_symbol lbl_end}\n`;
-diff -ru ../ref/ocaml-3.09.3/asmcomp/amd64/emit.mlp ocaml-3.09.3/asmcomp/amd64/emit.mlp
---- ../ref/ocaml-3.09.3/asmcomp/amd64/emit.mlp 2006-03-29 16:49:19.000000000 +0200
-+++ ocaml-3.09.3/asmcomp/amd64/emit.mlp 2006-11-03 10:35:48.000000000 +0100
-@@ -658,6 +658,12 @@
- ` .data\n`;
- List.iter emit_item l
-
-+(* Mark stack as non executable *)
-+let nx_stack() =
-+ if Config.system = "linux" then
-+ ` .section .note.GNU-stack,\"\",%progbits\n`
-+
-+
- (* Beginning / end of an assembly file *)
-
- let begin_assembly() =
-@@ -671,6 +677,7 @@
- `{emit_symbol lbl_begin}:\n`
-
- let end_assembly() =
-+ nx_stack();
- let lbl_end = Compilenv.make_symbol (Some "code_end") in
- ` .text\n`;
- ` .globl {emit_symbol lbl_end}\n`;
-diff -ru ../ref/ocaml-3.09.3/asmcomp/arm/emit.mlp ocaml-3.09.3/asmcomp/arm/emit.mlp
---- ../ref/ocaml-3.09.3/asmcomp/arm/emit.mlp 2004-05-03 14:46:50.000000000 +0200
-+++ ocaml-3.09.3/asmcomp/arm/emit.mlp 2006-11-03 10:35:55.000000000 +0100
-@@ -642,6 +642,12 @@
- ` .data\n`;
- List.iter emit_item l
-
-+(* Mark stack as non executable *)
-+let nx_stack() =
-+ if Config.system = "linux" then
-+ ` .section .note.GNU-stack,\"\",%progbits\n`
-+
-+
- (* Beginning / end of an assembly file *)
-
- let begin_assembly() =
-@@ -661,6 +667,7 @@
- `{emit_symbol lbl_begin}:\n`
-
- let end_assembly () =
-+ nx_stack();
- let lbl_end = Compilenv.make_symbol (Some "code_end") in
- ` .text\n`;
- ` .global {emit_symbol lbl_end}\n`;
-diff -ru ../ref/ocaml-3.09.3/asmcomp/hppa/emit.mlp ocaml-3.09.3/asmcomp/hppa/emit.mlp
---- ../ref/ocaml-3.09.3/asmcomp/hppa/emit.mlp 2006-03-29 16:49:19.000000000 +0200
-+++ ocaml-3.09.3/asmcomp/hppa/emit.mlp 2006-11-03 10:36:03.000000000 +0100
-@@ -994,6 +994,12 @@
- ` .data\n`;
- List.iter emit_item l
-
-+(* Mark stack as non executable *)
-+let nx_stack() =
-+ if Config.system = "linux" then
-+ ` .section .note.GNU-stack,\"\",%progbits\n`
-+
-+
- (* Beginning / end of an assembly file *)
-
- let begin_assembly() =
-@@ -1022,6 +1028,7 @@
-
-
- let end_assembly() =
-+ nx_stack();
- ` .code\n`;
- let lbl_end = Compilenv.make_symbol (Some "code_end") in
- declare_global lbl_end;
-diff -ru ../ref/ocaml-3.09.3/asmcomp/i386/emit.mlp ocaml-3.09.3/asmcomp/i386/emit.mlp
---- ../ref/ocaml-3.09.3/asmcomp/i386/emit.mlp 2006-03-29 16:49:19.000000000 +0200
-+++ ocaml-3.09.3/asmcomp/i386/emit.mlp 2006-11-03 10:21:41.000000000 +0100
-@@ -914,6 +914,11 @@
- ` .data\n`;
- List.iter emit_item l
-
-+(* Mark stack as non executable *)
-+let nx_stack() =
-+ if Config.system = "linux_elf" then
-+ ` .section .note.GNU-stack,\"\",%progbits\n`
-+
- (* Beginning / end of an assembly file *)
-
- let begin_assembly() =
-@@ -927,6 +932,7 @@
- `{emit_symbol lbl_begin}:\n`
-
- let end_assembly() =
-+ nx_stack();
- let lbl_end = Compilenv.make_symbol (Some "code_end") in
- ` .text\n`;
- ` .globl {emit_symbol lbl_end}\n`;
-diff -ru ../ref/ocaml-3.09.3/asmcomp/ia64/emit.mlp ocaml-3.09.3/asmcomp/ia64/emit.mlp
---- ../ref/ocaml-3.09.3/asmcomp/ia64/emit.mlp 2004-07-13 14:18:53.000000000 +0200
-+++ ocaml-3.09.3/asmcomp/ia64/emit.mlp 2006-11-03 10:36:13.000000000 +0100
-@@ -1306,6 +1306,12 @@
- ` .align 8\n`;
- List.iter emit_item l
-
-+(* Mark stack as non executable *)
-+let nx_stack() =
-+ if Config.system = "linux" then
-+ ` .section .note.GNU-stack,\"\",%progbits\n`
-+
-+
- (* Beginning / end of an assembly file *)
-
- let begin_assembly() =
-@@ -1315,6 +1321,7 @@
- emit_define_symbol (Compilenv.make_symbol (Some "code_begin"))
-
- let end_assembly () =
-+ nx_stack();
- ` .data\n`;
- emit_define_symbol (Compilenv.make_symbol (Some "data_end"));
- ` .text\n`;
-diff -ru ../ref/ocaml-3.09.3/asmcomp/power/emit.mlp ocaml-3.09.3/asmcomp/power/emit.mlp
---- ../ref/ocaml-3.09.3/asmcomp/power/emit.mlp 2004-06-19 19:39:34.000000000 +0200
-+++ ocaml-3.09.3/asmcomp/power/emit.mlp 2006-11-03 10:36:29.000000000 +0100
-@@ -879,6 +879,12 @@
- emit_string data_space;
- List.iter emit_item l
-
-+(* Mark stack as non executable *)
-+let nx_stack() =
-+ if Config.system = "elf" then
-+ ` .section .note.GNU-stack,\"\",%progbits\n`
-+
-+
- (* Beginning / end of an assembly file *)
-
- let begin_assembly() =
-@@ -898,6 +904,7 @@
- `{emit_symbol lbl_begin}:\n`
-
- let end_assembly() =
-+ nx_stack();
- (* Emit the jump table *)
- if !num_jumptbl_entries > 0 then begin
- emit_string code_space;
-diff -ru ../ref/ocaml-3.09.3/asmcomp/sparc/emit.mlp ocaml-3.09.3/asmcomp/sparc/emit.mlp
---- ../ref/ocaml-3.09.3/asmcomp/sparc/emit.mlp 2006-03-29 16:49:19.000000000 +0200
-+++ ocaml-3.09.3/asmcomp/sparc/emit.mlp 2006-11-03 10:36:36.000000000 +0100
-@@ -741,6 +741,12 @@
- ` .data\n`;
- List.iter emit_item l
-
-+(* Mark stack as non executable *)
-+let nx_stack() =
-+ if Config.system = "linux" then
-+ ` .section .note.GNU-stack,\"\",%progbits\n`
-+
-+
- (* Beginning / end of an assembly file *)
-
- let begin_assembly() =
-@@ -754,6 +760,7 @@
- `{emit_symbol lbl_begin}:\n`
-
- let end_assembly() =
-+ nx_stack();
- ` .text\n`;
- let lbl_end = Compilenv.make_symbol (Some "code_end") in
- ` .global {emit_symbol lbl_end}\n`;
diff --git a/dev-lang/ocaml/files/ocaml-3.09.3-execheap.patch b/dev-lang/ocaml/files/ocaml-3.09.3-execheap.patch
deleted file mode 100644
index a990d41b1186..000000000000
--- a/dev-lang/ocaml/files/ocaml-3.09.3-execheap.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- ocaml-3.09.3.orig/driver/ocamlcomp.sh.in 2002-06-08 03:27:50.000000000 +0000
-+++ ocaml-3.09.2/driver/ocamlcomp.sh.in 2007-04-21 17:27:24.000000000 +0000
-@@ -2,4 +2,10 @@
-
- topdir=`dirname $0`
-
-+# evil hack for evil build system.
-+if [ -x /usr/bin/scanelf ]; then
-+ [ "$(scanelf @compiler@ -BF%x#f)" != "--mxe-" ] && scanelf -qXx -z mxe @compiler@ > /dev/null
-+fi
-+
-+
- exec @compiler@ -nostdlib -I $topdir/stdlib "$@"
diff --git a/dev-lang/ocaml/files/ocaml-3.09.3-hppa-optimize-for-size-ocamlp4.patch b/dev-lang/ocaml/files/ocaml-3.09.3-hppa-optimize-for-size-ocamlp4.patch
deleted file mode 100644
index 3a9aed3e4c16..000000000000
--- a/dev-lang/ocaml/files/ocaml-3.09.3-hppa-optimize-for-size-ocamlp4.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Ocaml native code generation for hppa has a bug
-It can produce too big assembler files (>64k) that are invalid
-See bug : http://bugs.gentoo.org/show_bug.cgi?id=178256
-http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=342704
-http://caml.inria.fr/mantis/view.php?id=4147
-http://caml.inria.fr/mantis/view.php?id=3937
-
-This bug seems to have always existed but was never encountered
-In 3.09 releases, ocamlp4 has grown bigger and bigger and triggers it
-We just tell ocamlopt to optimize for size rather than for speed
-and the produced assembler is thus valid...
-
-Index: ocaml-3.09.3-patched/camlp4/config/Makefile.tpl
-===================================================================
---- ocaml-3.09.3-patched.orig/camlp4/config/Makefile.tpl
-+++ ocaml-3.09.3-patched/camlp4/config/Makefile.tpl
-@@ -37,7 +37,7 @@ TEST_DIRECTORY=test `basename "$<"` = "$
- .ml.cmx:
- @$(TEST_DIRECTORY)
- @$(CAMLP4_COMM) $< -o $*.ppo
-- $(OCAMLOPT) $(OCAMLCFLAGS) -c -impl $*.ppo
-+ $(OCAMLOPT) $(OCAMLCFLAGS) -compact -inline 0 -c -impl $*.ppo
- rm -f $*.ppo
-
- .ml.p.cmx:
diff --git a/dev-lang/ocaml/ocaml-3.09.3-r1.ebuild b/dev-lang/ocaml/ocaml-3.09.3-r1.ebuild
deleted file mode 100644
index dedf97e73b77..000000000000
--- a/dev-lang/ocaml/ocaml-3.09.3-r1.ebuild
+++ /dev/null
@@ -1,158 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ocaml-3.09.3-r1.ebuild,v 1.25 2007/12/19 16:31:54 aballier Exp $
-
-inherit flag-o-matic eutils multilib pax-utils versionator toolchain-funcs
-
-DESCRIPTION="fast modern type-inferring functional programming language descended from the ML (Meta Language) family"
-HOMEPAGE="http://www.ocaml.org/"
-SRC_URI="http://caml.inria.fr/distrib/ocaml-$( get_version_component_range 1-2 )/${P}.tar.bz2"
-
-LICENSE="QPL-1.0 LGPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE="gdbm ncurses tk latex X"
-
-DEPEND="tk? ( >=dev-lang/tk-3.3.3 )
- ncurses? ( sys-libs/ncurses )
- X? ( x11-libs/libX11 x11-proto/xproto )
- gdbm? ( sys-libs/gdbm )"
-
-# ocaml deletes the *.opt files when running make bootstrap
-
-QA_EXECSTACK="/usr/lib/ocaml/compiler-*"
-
-pkg_setup() {
- # dev-lang/ocaml fails with -fPIC errors due to a "relocation R_X86_64_32S" on AMD64/hardened
- if use amd64 && gcc-specs-pie ; then
- echo
- eerror "${CATEGORY}/${PF} is currently broken on this platform with specfiles injecting -PIE."
- eerror "Please switch to your \"${CHOST}-$(gcc-fullversion)-hardenednopie\" specfile via gcc-config!"
- die "Current specfile (${CHOST}-$(gcc-fullversion)) not supported by ${PF}!"
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # Fix the EXEC_STACK in ocaml compiled binaries (#153382)
- epatch "${FILESDIR}"/${P}-exec-stack-fixes.patch
-
- # Quick and somewhat dirty fix for bug #110541
- epatch "${FILESDIR}"/${P}-execheap.patch
-
- # The configure script doesn't inherit previous defined variables,
- # 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. Reported upstream as issue 0004268.
- epatch "${FILESDIR}"/${P}-Makefile.patch
-
- # ocaml has automagics on libX11 and gdbm
- # http://caml.inria.fr/mantis/view.php?id=4278
- epatch "${FILESDIR}/${P}-automagic.patch"
-
- # Call ld with proper flags, different from gcc ones
- # This happens when calling ocamlc -pack
- # See comment in the patch
- epatch "${FILESDIR}/${P}-call_ld_with_proper_flags.patch"
-
- # Ocaml native code generation for hppa has a bug
- # See comments in the patch
- # http://bugs.gentoo.org/show_bug.cgi?id=178256
- use hppa && epatch "${FILESDIR}/${P}-hppa-optimize-for-size-ocamlp4.patch"
-
- # Change the configure script to add the CFLAGS to bytecccompopts, LDFLAGS
- # to bytecclinkopts.
- sed -i -e "s,bytecccompopts=\"\",bytecccompopts=\"\${CFLAGS}\"," \
- -e "s,bytecclinkopts=\"\",bytecclinkopts=\"\${LDFLAGS}\"," \
- "${S}"/configure
-}
-
-src_compile() {
- local myconf="--host ${CHOST}"
-
- # dev-lang/ocaml tends to break/give unexpected results with "unsafe" CFLAGS.
- strip-flags
- replace-flags "-O?" -O2
-
- # It doesn't compile on alpha without this LDFLAGS
- use alpha && append-ldflags "-Wl,--no-relax"
-
- use tk || myconf="${myconf} -no-tk"
- use ncurses || myconf="${myconf} -no-curses"
- use X || myconf="${myconf} -no-graph"
- use gdbm || myconf="${myconf} -no-dbm"
-
- # ocaml uses a home-brewn configure script, preventing it to use econf.
- ./configure -prefix /usr \
- --bindir /usr/bin \
- --libdir /usr/$(get_libdir)/ocaml \
- --mandir /usr/share/man \
- --with-pthread ${myconf} || die "configure failed!"
-
- make world || die "make world failed!"
-
- # Native code generation is unsupported on some archs
- if ! use ppc64 ; then
- make opt || die "make opt failed!"
- make opt.opt || die "make opt.opt failed!"
- fi
-}
-
-src_install() {
- make BINDIR="${D}"/usr/bin \
- LIBDIR="${D}"/usr/$(get_libdir)/ocaml \
- MANDIR="${D}"/usr/share/man \
- install || die "make install failed!"
-
- # Install the compiler libs
- dodir /usr/$(get_libdir)/ocaml/compiler-libs
- insinto /usr/$(get_libdir)/ocaml/compiler-libs
- doins {utils,typing,parsing}/*.{mli,cmi,cmo,cmx,o}
-
- # Symlink the headers to the right place
- dodir /usr/include
- dosym /usr/$(get_libdir)/ocaml/caml /usr/include/
-
- # Remove ${D} from ld.conf, as the buildsystem isn't $(DESTDIR) aware
- dosed "s:${D}::g" /usr/$(get_libdir)/ocaml/ld.conf
-
- dodoc Changes INSTALL README Upgrading
-
- # Turn MPROTECT off for some of the ocaml binaries, since they are trying to
- # rewrite the segment (which will obviously fail on systems having
- # PAX_MPROTECT enabled).
- pax-mark -m "${D}"/usr/bin/ocamldoc.opt "${D}"/usr/bin/ocamldep.opt \
- "${D}"/usr/bin/ocamllex.opt "${D}"/usr/bin/camlp4r.opt \
- "${D}"/usr/bin/camlp4o.opt
-
- # Create and envd entry for latex input files (this definitely belongs into
- # CONTENT and not in pkg_postinst.
- if use latex ; then
- echo "TEXINPUTS=/usr/$(get_libdir)/ocaml/ocamldoc:" > "${T}"/99ocamldoc
- doenvd "${T}"/99ocamldoc
- fi
-
- # Install ocaml-rebuild.sh script rather than keeping it in $PORTDIR
- dosbin "${FILESDIR}/ocaml-rebuild.sh"
-}
-
-pkg_postinst() {
- if use amd64 && gcc-specs-ssp ; then
- ewarn
- ewarn "Make sure, you switch back to the default specfile ${CHOST}-$(gcc-fullversion) via gcc-config!"
- ewarn
- fi
-
- echo
- elog "OCaml is not binary compatible from version to version, so you (may)"
- elog "need to rebuild all packages depending on it, that are actually"
- elog "installed on your system. To do so, you can run:"
- elog "/usr/sbin/ocaml-rebuild.sh [-h | emerge options]"
- elog "Which will call emerge on all old packages with the given options"
- echo
-}