diff options
author | Alexis Ballier <aballier@gentoo.org> | 2013-09-14 22:52:49 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2013-09-14 22:52:49 +0000 |
commit | c21e4f301cf89a7498d973a184f5a81fca857f35 (patch) | |
tree | 5799c3a2e8ca526e9f48a2447048e6e115ec039f /dev-lang/ocaml | |
parent | bump to 4.01.0 (diff) | |
download | historical-c21e4f301cf89a7498d973a184f5a81fca857f35.tar.gz historical-c21e4f301cf89a7498d973a184f5a81fca857f35.tar.bz2 historical-c21e4f301cf89a7498d973a184f5a81fca857f35.zip |
remove old
Package-Manager: portage-2.2.4/cvs/Linux x86_64
Manifest-Sign-Key: 0x160F534A
Diffstat (limited to 'dev-lang/ocaml')
-rw-r--r-- | dev-lang/ocaml/ChangeLog | 6 | ||||
-rw-r--r-- | dev-lang/ocaml/Manifest | 16 | ||||
-rw-r--r-- | dev-lang/ocaml/ocaml-4.00.0.ebuild | 127 | ||||
-rw-r--r-- | dev-lang/ocaml/ocaml-4.00.1.ebuild | 122 | ||||
-rw-r--r-- | dev-lang/ocaml/ocaml-4.01.0_beta1.ebuild | 125 | ||||
-rw-r--r-- | dev-lang/ocaml/ocaml-4.01.0_rc1.ebuild | 125 |
6 files changed, 9 insertions, 512 deletions
diff --git a/dev-lang/ocaml/ChangeLog b/dev-lang/ocaml/ChangeLog index 1b156dc17ffd..2b0b56880b6a 100644 --- a/dev-lang/ocaml/ChangeLog +++ b/dev-lang/ocaml/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-lang/ocaml # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ChangeLog,v 1.216 2013/09/14 22:49:57 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ChangeLog,v 1.217 2013/09/14 22:52:42 aballier Exp $ + + 14 Sep 2013; Alexis Ballier <aballier@gentoo.org> -ocaml-4.00.0.ebuild, + -ocaml-4.00.1.ebuild, -ocaml-4.01.0_beta1.ebuild, -ocaml-4.01.0_rc1.ebuild: + remove old *ocaml-4.01.0 (14 Sep 2013) diff --git a/dev-lang/ocaml/Manifest b/dev-lang/ocaml/Manifest index 8487c7026411..7e33d2d40ee2 100644 --- a/dev-lang/ocaml/Manifest +++ b/dev-lang/ocaml/Manifest @@ -5,30 +5,22 @@ AUX ocaml-rebuild.sh 1120 SHA256 893320630726c58ea3b501ef16913c150c50ea9d6cd38ec AUX ocaml.conf 177 SHA256 b7f7ad0ff15bec096dcb87265d87f9b0ce8f946d4a2676dd7638ca0e14bb05c1 SHA512 4f0a48b8101b77d568d8d0a852f2a21fd46b7947c5d3f975ee4cd8a9c37c993d689cf5fb53b54a6b2740cb865051dc50c74c0c373eb697fca800ca143d401aa4 WHIRLPOOL d25c9ac2a565a5384c7f645be433faac192e4c41f55a08d74e99ec022ce06132a560070bb4771b261c6f023d3aec72fddb47279d5ab2cfe8cc93c70c97ff16d5 DIST ocaml-3.11.2.tar.bz2 2346284 SHA256 86f3387a0d7e7c8be2a3c53af083a5a726e333686208d5ea0dd6bb5ac3f58143 SHA512 69888797bdab8f7baa5e398db08a723388876ed5920b62e9bf29a5214badde1c2024365f88bcbd89d43a0c8d9e4d1bd15486e4b12e8432f1c1bcedd17782faaf WHIRLPOOL d1e6d0851f8f1315f95cd0a470bb61dc1d39ec70f2ec23169ffc9aa74b2d02f5419e3474093319cb47125e7534a0d121751fd1971653e43bdca167f823d4c94a DIST ocaml-3.12.1.tar.bz2 2949124 SHA256 edcf563da75e0b91f09765649caa98ab1535e0c7498f0737b5591b7de084958d SHA512 cbb050aabcbe19a4aa070d6cb74f3774cb136692dfd9433ca977f0f9520ad2f583b6cfb1a9cedfedc92e7dc794ac4a869e20aa5a67a4739002feb290435dc7e7 WHIRLPOOL b7bf4844452ab52027e6b785159df6e4defc548d2f3d31eb73dc0dc05214e7c19ed654c8b3ff234a85691599df0be568ba02fafe257856be7f603177584a7ca0 -DIST ocaml-4.00.0.tar.bz2 2760767 SHA256 ec886d7bc587ce472fcbdf294feb4b1fa2d8e7ef78ab6a4e66551699435d5cd7 SHA512 428632f8f54afee3bc512853689df5702cfa95140aa31d33a8ff752b669481050808cf36ec52262764d17c48b0a03d5e427151ecec2e899361853e5c258578ca WHIRLPOOL 0a6aa4c57b35a563539e4cacb0387c0fdb869f57fc8cccb37344299988f76c4de6ab08c478b22d0303d146a80e8352e8fb4f1156fb9372f1a7d75e2001e4c323 DIST ocaml-4.00.1.tar.bz2 2762205 SHA256 33c3f4acff51685f5bfd7c260f066645e767d4e865877bf1613c176a77799951 SHA512 77899430706394af558666361b152d47df3a3e21831059875f8b317d0ff9d1a010177bf1e5851e522e086c20768e92c71344aa53eda0ce003f278752870ab5da WHIRLPOOL 3fdc090e1158ae72c91685aef62c751f897f4e3efcfbdc07e00d92e83351494fd126bdaca31039c1bf5dc4107072d978bb30e02c879caafc215dbc913f2d6ed1 -DIST ocaml-4.01.0+beta1.tar.bz2 2893750 SHA256 02de6d2da992020b18c39748036706bafa5e4eef909f423c2ae81f10656dcccf SHA512 57def3344f23d2059e05f8bcf4f2afbc739b73157c435bdaea373081285e78c0090f3f214803537ddb8b59fdd7e425044ad8739d91686391a90ce9ded012b002 WHIRLPOOL 3af21646500ad4e3254ca9e1f384e44c485344b96835d81fb467888fc49c878863a75cddabc663b307ea3d82d47fe150df14d694b7155aa5a819269ea397ce1b -DIST ocaml-4.01.0+rc1.tar.bz2 3686260 SHA256 4551ca703207b37f271bea3ce99bd4fd0aac70820506a5979be34839a83bab92 SHA512 8b8d23c2ef2739fadeb3a3b4d2b73916099ec2c611f5a0ebcdb5a315a3e0db7a4f89759e6d393977ad743907d5f022bd21e7b350c3d94cba6aa9400a891e5465 WHIRLPOOL c08e553f9c0e85970eac2217f6788d9ab683f0953e5f74d1b8e00e935a6355281be4371522449b09cfadf62a471b83cf38465256f34fa69d83c02a3936d54223 DIST ocaml-4.01.0.tar.bz2 3691090 SHA256 b1ca708994180236917ae79e17606da5bd334ca6acd6873a550027e1c0ec874a SHA512 b0a4efa89d0e48e5c01922156a73a8ed67c58efa07170710eaef9de1138e1d6fff8a440b2c81860fc63c604f3a4e189b795bb08a5e9d8df60778fcd468985f6e WHIRLPOOL a31cc2c46e19ca1c5ca65ffdee77ef42b7269b1584f81629e29b725b167c7e3d9eb467a3e8171aaba7d2cf1d8aea31d1822c5631fe3e209ce7731c16112a11d3 DIST ocaml-patches-1.tar.bz2 3108 SHA256 ad1c252cba7cc50f70d19049fcd78aa359672e436ab9906424548229a04afa49 SHA512 36042cfec68ec06a172f07c7e8ac7904fccd0619a0d5ae2ffc6c87216be7450463fdbeeb9544e5df9d7d93ce9cd52b1502d4b74ee196a911c9f9273bc41d4396 WHIRLPOOL 2f04b3859295973b20bd83e718812f0ab1a993dc143523ebeab7b3d23cfda2bfe0f1eeb2ca1dc1393ae00192337e0cdc9d1472c5681fb719390d337a7d1ddc0e DIST ocaml-patches-3.tar.bz2 4101 SHA256 c4ceb604f4480c78d1cf4f848b0903c8d37798d9761f582d8d1643d4e38b8658 SHA512 8be5c44de5a6b0b7c14723e41d92fe807b881b218cc5eee38ea7519c0f971415cb7fe30035303da275089dcb8a61c4f334c4a88e0bdbced3953503794b8308a7 WHIRLPOOL f1920606785702c44dead01b1426145653bc1931acba2d614c6818baddc051e4f74ca0322cae66ade63ba0cd0df5651cfd67f511fca5f12973b67a0c50ebab6d -DIST ocaml-patches-4.tar.bz2 2429 SHA256 42e7120e8b682dfbef9e5f5cc95adfc67f0ca7289c067f67dc28562d3cca6cc5 SHA512 bf66dee09807775a705eb80a58c6f4f5394ccae8614e3eb9d3ed8633cd52d28648e5fb10200d00479a40a7c6a371f8345fed4e67932024ea7632cadb407e310e WHIRLPOOL 107b1301a3d1035e368fba749821ee9d53aa22c08d30b5dbb470eb77060bbc47a82ef54a5340e22b0d2874e7c52aa55161551e84a52510b85c27189d3ef47a46 DIST ocaml-patches-5.tar.bz2 2517 SHA256 a41c731da9312b29a8ff9e3b457439872ac47507b031dcb24dd4153e7cf09925 SHA512 38c0072c85d8cc3fd44e9864340385997f59afd974b60ef24fc43f50a8d33616e94310b927b9519191aebf2870a38d35a17163576352c3fd4c42a63cff936966 WHIRLPOOL 13b21e134f9887ea294fddad9ca4c18d48fcefe11b07bc7bd0dd2de232e4ff1f697db74fce62ff64e816910bbe49243ee20ac2a77f76827d28da4e0cdd221ae0 DIST ocaml-patches-6.tar.bz2 2197 SHA256 7acfa3d056c2b3f7dfc3b1f96a2557d81802c837c2ba0abc1487de10627e5e07 SHA512 88afa904044192b945b537cbfc3c17308e333ed1d241332212b9500d01c14bb306905b03f2b48ec64dd2f428df1f7179772d742b77b4402da108ba7790239bf6 WHIRLPOOL d2001a8a3e799080c3981be87bcef62635c11cab037d6d92da186643614c6e2a568543f82f3566bfb099c063ad344cab2238edf863a9fb02081f4e20f442d9f8 EBUILD ocaml-3.11.2.ebuild 4127 SHA256 89abc74d30c03d2755623f3b9eadcb1a4b975fb9b668616f380640b6af76aeea SHA512 ac4a51bdf2e199635a2ab8fa18cab1907ef5f4357bc9695d23462d4cda4e836867a6de6c9d07f93522094ce764331d47528a6a46182fd3342a382dbae363da0c WHIRLPOOL 8b0d3bd3a359443dad4f4611af785cf857a2d3cbb8736f41fff28b7e86519036e7810fa3dbcba60fb07a4e79bb8148400b256b36a3390491151883ebb2c15132 EBUILD ocaml-3.12.1.ebuild 4045 SHA256 924440c4a1a73ea30cd8833d85cde70f9ad95eb9ce5e13326f9b288569dd52e9 SHA512 3f6c6430eaac2020759134ea26012e2c657dd49f42fc54bbc6fff133639bdd78bfbe381d44b53281c9dd51d8a86eeaa25729b9766a12f45c2fd31a757df9ef94 WHIRLPOOL 1355f4ae0c98153efdfc95cd74a67383176d2141c5bef77cf41fd44b22901c3b5446d4aa0d7c83c7bd4d4a3fac564328a7a434051b523b64e827bd81db20d0d9 -EBUILD ocaml-4.00.0.ebuild 3982 SHA256 77df6c597358aa57ff5e8824ecfce494d1ef74df931506c21f9ba491d3afeb8e SHA512 e27a43c83c6241bdd18fb846580252dd448d19d8cc6c03bbe74e973c1416399ac7d08aa87187090e077bd6291649163fb6d2bdded632d92c34d495ad3b4441d5 WHIRLPOOL 76f2d6be1d4455f691bd43a10de531d064b89833a30351084d1fe28a2e0624769920fbcd8ef82f7f741f2c7ff28075e6b2bf14768f3002141835e4f26ef1e199 EBUILD ocaml-4.00.1-r1.ebuild 3685 SHA256 47bb6f84d590209bfb35b91e8b34f8c82d34138b89829fa3a7e7b648178994d5 SHA512 477398d24c1e219e1de27cd5894925b89613048c714e68e6335dcc06b5c767bae07f53752dc1be0b054b2aa6666b64cb2356948a99e14627d12e47cbdfb03f43 WHIRLPOOL ffd0761225d487f64587d8ee581ad2b961f7cc933e1ddac92ea2604c72d7732164365503ba59dab21173b8a43052432df8e8136cac1d4482c12fb85fd2ac966d -EBUILD ocaml-4.00.1.ebuild 3596 SHA256 f26e563e6efba0eaeb1b62ee0d0a72c54bc14085d69cacc5bb680203fb0c8746 SHA512 f700ba37ed0c3f978c867be55e326ae06679bd8bfbe2a32d9dadc89f8f7e3e2951c445700bc9534aee3b7ca593aec36a54e78ed700613736c56df03858729d6c WHIRLPOOL 3d0a59c0bbad95116ec56e86cfb9838a6c78dc22fa3a8a1e478f9fedf27dd878382106eda3b12c8c27af33b04b5c08c9d6280d146bab6d17c7d50a87a3169c83 EBUILD ocaml-4.01.0.ebuild 3672 SHA256 15524dcfbe92a2a01ddca21202d130081f5a339138eebac728dcfddd20887503 SHA512 c10bf9b0367e21b6283d70eec40e668ac3c1d723f10c62bb90e1d34a081c99068b25a916f0a59536c3ae3ebecf2dfd236cb9f8a7bb8a3d17b13efe0825e52243 WHIRLPOOL d438bd54c6370350302afe5afc776c46ba2e9954122e66ee0414c7446fb10e1a5ebb776e5e6a52c13d43a20fa4ea3b7f4d504b35b7a6b27f8e9489f0058b8586 -EBUILD ocaml-4.01.0_beta1.ebuild 3678 SHA256 a77af75d00a92d6fdab1b84070b29e1ab677f3b8e8320ad6400e5dfbd52834ff SHA512 58a8e2deb93030be842fe5012a6387045c98e44c154da3bb644879748e927a1122ea85ec45a746ceba1ab9f8188d1f069791e68f3f7ee130404991e46326003f WHIRLPOOL f127d9507b68935cf1f2dc276c11842d18b2ccddf393ec747c38be0eb221c8dd3854789233b5224c0d6f2a81de8dca70dc8a15db243794aee30869b9b11e667b -EBUILD ocaml-4.01.0_rc1.ebuild 3676 SHA256 99a810f93ac1f66bc707327d5fb04d3761118bb636d7ba12f35b7d2d5acb768d SHA512 61ecef90fc95bb48dd9505a30dc365bb2c9cd1af249e4fdfe767780f51643e664b713f2540d86ac2d6d05eb00edaa9b103ab4c0b0620accb8e2c5f0296f09853 WHIRLPOOL fe2c6649ce8a965c3b2f1135868a43d45a7da9bdee2526125d83d20cd148b42dfc1c16c3829aef72b2b4e3e964827dd8deb62272c7a2cbade4a014cc70191698 -MISC ChangeLog 33427 SHA256 77521a5a7ab47c17b8c760b71eb388788a13fb6c431ef354aee0b993eec25d72 SHA512 1765a9bd332ab5bc624d26e2c9433baced6b8c9d2b9692b08d3980a67304a5d359ce0de525cba0ba8f71d6aa7342d93271fe8e5ba56f3190dfddf8889658c718 WHIRLPOOL 7da7c82288980cd5d49ab3db3a65e9711277c9c7059321c34576500ce4193a0dcb6afa98f5f86037d613c42b2a2d36a45fcbe064dc055c8ddb93ef740167d6d4 +MISC ChangeLog 33593 SHA256 6c281a8914bb060d098eefc16ddd28749b95e9fec40f404f60254a42ad517817 SHA512 4b6fc9631c98a4aa84ad74373822e3ea7c007e8be2136cd5958f6aa2d77aca9e85dcc3bca4646169594b940b34699977acab18c0cf86d5662c0fb3adf89c62e3 WHIRLPOOL 4061963f842cbfb589e848d160ea1662e17c04d5de4e642d5ca169cb1d4d398edf602a923f79c5704be1f72085bf6f46e3ba0ab455497e0bf4385cfc3593f76c MISC metadata.xml 155 SHA256 118048376ebb76f57628b0819f3de4856e73959c2578c88715d37ea2d1e0af81 SHA512 a525f91dd332fc144c42d1437bdae9c889cbcece6294c2d2f4baf6a532ac2e13492736e75b41c83fac31033a9ae53c37deb96286a5ab8575611136617640952c WHIRLPOOL 71a9c7aaf4e268c65c0d1e30e343911ccbcf99ef8c23773abc2b3af8d58d9f7d5c09632805d8ba9050c09eef629f2b340db9eb9ba8b9cd2e5d655fce3f91fcb6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (GNU/Linux) -iEYEAREIAAYFAlI06BcACgkQvFcC4BYPU0rP7gCgmSso3mp4OjN8VjPnqI3Se6kh -EBEAnifjCPguW703dwCEo/obgzEOmnzA -=fhyp +iEYEAREIAAYFAlI06LsACgkQvFcC4BYPU0pRvQCgxmr/ehshL3cV/FXRMWu2s3NE +JLUAoLYpvNiuuIHPDLZKDvjiDmLO2dls +=OUzM -----END PGP SIGNATURE----- diff --git a/dev-lang/ocaml/ocaml-4.00.0.ebuild b/dev-lang/ocaml/ocaml-4.00.0.ebuild deleted file mode 100644 index a0f99c48623c..000000000000 --- a/dev-lang/ocaml/ocaml-4.00.0.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ocaml-4.00.0.ebuild,v 1.1 2012/07/27 00:27:01 aballier Exp $ - -EAPI="1" - -inherit flag-o-matic eutils multilib versionator toolchain-funcs - -PATCHLEVEL="4" -MY_P="${P/_/+}" -DESCRIPTION="Fast modern type-inferring functional programming language descended from the ML family" -HOMEPAGE="http://www.ocaml.org/" -SRC_URI="ftp://ftp.inria.fr/INRIA/Projects/cristal/ocaml/ocaml-$(get_version_component_range 1-2)/${MY_P}.tar.bz2 - mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2" - -LICENSE="QPL-1.0 LGPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" -IUSE="emacs latex ncurses +ocamlopt tk X xemacs" - -DEPEND="tk? ( >=dev-lang/tk-3.3.3 ) - ncurses? ( sys-libs/ncurses ) - X? ( x11-libs/libX11 x11-proto/xproto )" -RDEPEND="${DEPEND}" - -PDEPEND="emacs? ( app-emacs/ocaml-mode ) - xemacs? ( app-xemacs/ocaml )" - -S="${WORKDIR}/${MY_P}" -pkg_setup() { - # dev-lang/ocaml creates its own objects but calls gcc for linking, which will - # results in relocations if gcc wants to create a PIE executable - if gcc-specs-pie ; then - append-ldflags -nopie - ewarn "Ocaml generates its own native asm, you're using a PIE compiler" - ewarn "We have appended -nopie to ocaml build options" - ewarn "because linking an executable with pie while the objects are not pic will not work" - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" -} - -src_compile() { - export LC_ALL=C - local myconf="" - - # Causes build failures because it builds some programs with -pg, - # bug #270920 - filter-flags -fomit-frame-pointer - # Bug #285993 - filter-mfpmath sse - - # 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" - - # ocaml uses a home-brewn configure script, preventing it to use econf. - RAW_LDFLAGS="$(raw-ldflags)" ./configure -prefix /usr \ - --bindir /usr/bin \ - --libdir /usr/$(get_libdir)/ocaml \ - --mandir /usr/share/man \ - -host "${CHOST}" \ - -cc "$(tc-getCC)" \ - -as "$(tc-getAS)" \ - -aspp "$(tc-getCC) -c" \ - -partialld "$(tc-getLD) -r" \ - --with-pthread ${myconf} || die "configure failed!" - - emake -j1 world || die "make world failed!" - - # Native code generation can be disabled now - if use ocamlopt ; then - # bug #279968 - emake -j1 opt || die "make opt failed!" - emake -j1 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} - use ocamlopt && doins {utils,typing,parsing}/*.{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 - - # 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 portage set - insinto /usr/share/portage/config/sets - doins "${FILESDIR}/ocaml.conf" || die -} - -pkg_postinst() { - echo - ewarn "OCaml is not binary compatible from version to version, so you" - ewarn "need to rebuild all packages depending on it, that are actually" - ewarn "installed on your system. To do so, you can run:" - ewarn "emerge @ocaml-rebuild" - ewarn "Or, (almost) equivalently: emerge -1 /usr/$(get_libdir)/ocaml" - echo -} diff --git a/dev-lang/ocaml/ocaml-4.00.1.ebuild b/dev-lang/ocaml/ocaml-4.00.1.ebuild deleted file mode 100644 index 6f433645e59a..000000000000 --- a/dev-lang/ocaml/ocaml-4.00.1.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ocaml-4.00.1.ebuild,v 1.4 2013/02/18 18:09:14 aballier Exp $ - -EAPI="5" - -inherit flag-o-matic eutils multilib versionator toolchain-funcs - -PATCHLEVEL="4" -MY_P="${P/_/+}" -DESCRIPTION="Fast modern type-inferring functional programming language descended from the ML family" -HOMEPAGE="http://www.ocaml.org/" -SRC_URI="ftp://ftp.inria.fr/INRIA/Projects/cristal/ocaml/ocaml-$(get_version_component_range 1-2)/${MY_P}.tar.bz2 - mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2" - -LICENSE="QPL-1.0 LGPL-2" -# Everytime ocaml is updated to a new version, everything ocaml must be rebuilt, -# so here we go with the subslot. -SLOT="0/${PV}" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" -IUSE="emacs latex ncurses +ocamlopt tk X xemacs" - -DEPEND="tk? ( >=dev-lang/tk-3.3.3 ) - ncurses? ( sys-libs/ncurses ) - X? ( x11-libs/libX11 x11-proto/xproto )" -RDEPEND="${DEPEND}" - -PDEPEND="emacs? ( app-emacs/ocaml-mode ) - xemacs? ( app-xemacs/ocaml )" - -S="${WORKDIR}/${MY_P}" -pkg_setup() { - # dev-lang/ocaml creates its own objects but calls gcc for linking, which will - # results in relocations if gcc wants to create a PIE executable - if gcc-specs-pie ; then - append-ldflags -nopie - ewarn "Ocaml generates its own native asm, you're using a PIE compiler" - ewarn "We have appended -nopie to ocaml build options" - ewarn "because linking an executable with pie while the objects are not pic will not work" - fi -} - -src_prepare() { - EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" -} - -src_configure() { - export LC_ALL=C - local myconf="" - - # Causes build failures because it builds some programs with -pg, - # bug #270920 - filter-flags -fomit-frame-pointer - # Bug #285993 - filter-mfpmath sse - - # 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" - - # ocaml uses a home-brewn configure script, preventing it to use econf. - RAW_LDFLAGS="$(raw-ldflags)" ./configure -prefix /usr \ - --bindir /usr/bin \ - --libdir /usr/$(get_libdir)/ocaml \ - --mandir /usr/share/man \ - -host "${CHOST}" \ - -cc "$(tc-getCC)" \ - -as "$(tc-getAS)" \ - -aspp "$(tc-getCC) -c" \ - -partialld "$(tc-getLD) -r" \ - --with-pthread ${myconf} || die "configure failed!" -} - -src_compile() { - emake -j1 world - - # Native code generation can be disabled now - if use ocamlopt ; then - # bug #279968 - emake -j1 opt - emake -j1 opt.opt - fi -} - -src_install() { - make BINDIR="${D}"/usr/bin \ - LIBDIR="${D}"/usr/$(get_libdir)/ocaml \ - MANDIR="${D}"/usr/share/man \ - install - - # Symlink the headers to the right place - dodir /usr/include - dosym /usr/$(get_libdir)/ocaml/caml /usr/include/ - - dodoc Changes INSTALL README Upgrading - - # Create and envd entry for latex input files - if use latex ; then - echo "TEXINPUTS=/usr/$(get_libdir)/ocaml/ocamldoc:" > "${T}"/99ocamldoc - doenvd "${T}"/99ocamldoc - fi - - # Install ocaml-rebuild portage set - insinto /usr/share/portage/config/sets - doins "${FILESDIR}/ocaml.conf" -} - -pkg_postinst() { - echo - ewarn "OCaml is not binary compatible from version to version, so you" - ewarn "need to rebuild all packages depending on it, that are actually" - ewarn "installed on your system. To do so, you can run:" - if has_version '>=sys-apps/portage-2.2' ; then - ewarn "emerge @ocaml-rebuild" - else - ewarn "emerge -1 /usr/$(get_libdir)/ocaml" - fi - echo -} diff --git a/dev-lang/ocaml/ocaml-4.01.0_beta1.ebuild b/dev-lang/ocaml/ocaml-4.01.0_beta1.ebuild deleted file mode 100644 index 32d42e2db322..000000000000 --- a/dev-lang/ocaml/ocaml-4.01.0_beta1.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ocaml-4.01.0_beta1.ebuild,v 1.1 2013/08/16 00:28:28 aballier Exp $ - -EAPI="5" - -inherit flag-o-matic eutils multilib versionator toolchain-funcs - -PATCHLEVEL="6" -MY_P="${P/_/+}" -DESCRIPTION="Fast modern type-inferring functional programming language descended from the ML family" -HOMEPAGE="http://www.ocaml.org/" -SRC_URI="ftp://ftp.inria.fr/INRIA/Projects/cristal/ocaml/ocaml-$(get_version_component_range 1-2)/${MY_P}.tar.bz2 - mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2" - -LICENSE="QPL-1.0 LGPL-2" -# Everytime ocaml is updated to a new version, everything ocaml must be rebuilt, -# so here we go with the subslot. -SLOT="0/${PV}" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" -IUSE="emacs latex ncurses +ocamlopt tk X xemacs" - -DEPEND="tk? ( >=dev-lang/tk-3.3.3 ) - ncurses? ( sys-libs/ncurses ) - X? ( x11-libs/libX11 x11-proto/xproto )" -RDEPEND="${DEPEND}" - -PDEPEND="emacs? ( app-emacs/ocaml-mode ) - xemacs? ( app-xemacs/ocaml )" - -S="${WORKDIR}/${MY_P}" -pkg_setup() { - # dev-lang/ocaml creates its own objects but calls gcc for linking, which will - # results in relocations if gcc wants to create a PIE executable - if gcc-specs-pie ; then - append-ldflags -nopie - ewarn "Ocaml generates its own native asm, you're using a PIE compiler" - ewarn "We have appended -nopie to ocaml build options" - ewarn "because linking an executable with pie while the objects are not pic will not work" - fi -} - -src_prepare() { - EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" -} - -src_configure() { - export LC_ALL=C - local myconf="" - - # Causes build failures because it builds some programs with -pg, - # bug #270920 - filter-flags -fomit-frame-pointer - # Bug #285993 - filter-mfpmath sse - - # 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" - - # ocaml uses a home-brewn configure script, preventing it to use econf. - RAW_LDFLAGS="$(raw-ldflags)" ./configure -prefix /usr \ - --bindir /usr/bin \ - --libdir /usr/$(get_libdir)/ocaml \ - --mandir /usr/share/man \ - -host "${CHOST}" \ - -cc "$(tc-getCC)" \ - -as "$(tc-getAS)" \ - -aspp "$(tc-getCC) -c" \ - -partialld "$(tc-getLD) -r" \ - --with-pthread ${myconf} || die "configure failed!" - - # http://caml.inria.fr/mantis/view.php?id=4698 - export CCLINKFLAGS="${LDFLAGS}" -} - -src_compile() { - emake -j1 world - - # Native code generation can be disabled now - if use ocamlopt ; then - # bug #279968 - emake -j1 opt - emake -j1 opt.opt - fi -} - -src_install() { - make BINDIR="${D}"/usr/bin \ - LIBDIR="${D}"/usr/$(get_libdir)/ocaml \ - MANDIR="${D}"/usr/share/man \ - install - - # Symlink the headers to the right place - dodir /usr/include - dosym /usr/$(get_libdir)/ocaml/caml /usr/include/caml - - dodoc Changes INSTALL README - - # Create and envd entry for latex input files - if use latex ; then - echo "TEXINPUTS=/usr/$(get_libdir)/ocaml/ocamldoc:" > "${T}"/99ocamldoc - doenvd "${T}"/99ocamldoc - fi - - # Install ocaml-rebuild portage set - insinto /usr/share/portage/config/sets - doins "${FILESDIR}/ocaml.conf" -} - -pkg_postinst() { - echo - ewarn "OCaml is not binary compatible from version to version, so you" - ewarn "need to rebuild all packages depending on it, that are actually" - ewarn "installed on your system. To do so, you can run:" - if has_version '>=sys-apps/portage-2.2' ; then - ewarn "emerge @ocaml-rebuild" - else - ewarn "emerge -1 /usr/$(get_libdir)/ocaml" - fi - echo -} diff --git a/dev-lang/ocaml/ocaml-4.01.0_rc1.ebuild b/dev-lang/ocaml/ocaml-4.01.0_rc1.ebuild deleted file mode 100644 index 1ac6579923a3..000000000000 --- a/dev-lang/ocaml/ocaml-4.01.0_rc1.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ocaml-4.01.0_rc1.ebuild,v 1.1 2013/09/03 18:16:13 aballier Exp $ - -EAPI="5" - -inherit flag-o-matic eutils multilib versionator toolchain-funcs - -PATCHLEVEL="6" -MY_P="${P/_/+}" -DESCRIPTION="Fast modern type-inferring functional programming language descended from the ML family" -HOMEPAGE="http://www.ocaml.org/" -SRC_URI="ftp://ftp.inria.fr/INRIA/Projects/cristal/ocaml/ocaml-$(get_version_component_range 1-2)/${MY_P}.tar.bz2 - mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2" - -LICENSE="QPL-1.0 LGPL-2" -# Everytime ocaml is updated to a new version, everything ocaml must be rebuilt, -# so here we go with the subslot. -SLOT="0/${PV}" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" -IUSE="emacs latex ncurses +ocamlopt tk X xemacs" - -DEPEND="tk? ( >=dev-lang/tk-3.3.3 ) - ncurses? ( sys-libs/ncurses ) - X? ( x11-libs/libX11 x11-proto/xproto )" -RDEPEND="${DEPEND}" - -PDEPEND="emacs? ( app-emacs/ocaml-mode ) - xemacs? ( app-xemacs/ocaml )" - -S="${WORKDIR}/${MY_P}" -pkg_setup() { - # dev-lang/ocaml creates its own objects but calls gcc for linking, which will - # results in relocations if gcc wants to create a PIE executable - if gcc-specs-pie ; then - append-ldflags -nopie - ewarn "Ocaml generates its own native asm, you're using a PIE compiler" - ewarn "We have appended -nopie to ocaml build options" - ewarn "because linking an executable with pie while the objects are not pic will not work" - fi -} - -src_prepare() { - EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" -} - -src_configure() { - export LC_ALL=C - local myconf="" - - # Causes build failures because it builds some programs with -pg, - # bug #270920 - filter-flags -fomit-frame-pointer - # Bug #285993 - filter-mfpmath sse - - # 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" - - # ocaml uses a home-brewn configure script, preventing it to use econf. - RAW_LDFLAGS="$(raw-ldflags)" ./configure -prefix /usr \ - --bindir /usr/bin \ - --libdir /usr/$(get_libdir)/ocaml \ - --mandir /usr/share/man \ - -host "${CHOST}" \ - -cc "$(tc-getCC)" \ - -as "$(tc-getAS)" \ - -aspp "$(tc-getCC) -c" \ - -partialld "$(tc-getLD) -r" \ - --with-pthread ${myconf} || die "configure failed!" - - # http://caml.inria.fr/mantis/view.php?id=4698 - export CCLINKFLAGS="${LDFLAGS}" -} - -src_compile() { - emake -j1 world - - # Native code generation can be disabled now - if use ocamlopt ; then - # bug #279968 - emake -j1 opt - emake -j1 opt.opt - fi -} - -src_install() { - make BINDIR="${D}"/usr/bin \ - LIBDIR="${D}"/usr/$(get_libdir)/ocaml \ - MANDIR="${D}"/usr/share/man \ - install - - # Symlink the headers to the right place - dodir /usr/include - dosym /usr/$(get_libdir)/ocaml/caml /usr/include/caml - - dodoc Changes INSTALL README - - # Create and envd entry for latex input files - if use latex ; then - echo "TEXINPUTS=/usr/$(get_libdir)/ocaml/ocamldoc:" > "${T}"/99ocamldoc - doenvd "${T}"/99ocamldoc - fi - - # Install ocaml-rebuild portage set - insinto /usr/share/portage/config/sets - doins "${FILESDIR}/ocaml.conf" -} - -pkg_postinst() { - echo - ewarn "OCaml is not binary compatible from version to version, so you" - ewarn "need to rebuild all packages depending on it, that are actually" - ewarn "installed on your system. To do so, you can run:" - if has_version '>=sys-apps/portage-2.2' ; then - ewarn "emerge @ocaml-rebuild" - else - ewarn "emerge -1 /usr/$(get_libdir)/ocaml" - fi - echo -} |