diff options
author | Thomas Kahle <tomka@gentoo.org> | 2010-11-16 23:33:43 +0000 |
---|---|---|
committer | Thomas Kahle <tomka@gentoo.org> | 2010-11-16 23:33:43 +0000 |
commit | 9632b1d729c592d14154c23cf0510085283c5bba (patch) | |
tree | e22a5867ef631e8f9bfcc278096fdf923bade4a9 /sci-mathematics | |
parent | Cleanup (diff) | |
download | historical-9632b1d729c592d14154c23cf0510085283c5bba.tar.gz historical-9632b1d729c592d14154c23cf0510085283c5bba.tar.bz2 historical-9632b1d729c592d14154c23cf0510085283c5bba.zip |
bump to 2.9.9, remove 2.9.8. Fixes a build failure that Luigi Malago found.
Package-Manager: portage-2.1.9.24/cvs/Linux i686
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/polymake/ChangeLog | 10 | ||||
-rw-r--r-- | sci-mathematics/polymake/Manifest | 13 | ||||
-rw-r--r-- | sci-mathematics/polymake/files/2.9.9-gentoo-binutils.patch | 22 | ||||
-rw-r--r-- | sci-mathematics/polymake/polymake-2.9.9.ebuild (renamed from sci-mathematics/polymake/polymake-2.9.8.ebuild) | 39 |
4 files changed, 50 insertions, 34 deletions
diff --git a/sci-mathematics/polymake/ChangeLog b/sci-mathematics/polymake/ChangeLog index 2d66657e65a4..a12476d8e511 100644 --- a/sci-mathematics/polymake/ChangeLog +++ b/sci-mathematics/polymake/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sci-mathematics/polymake # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/polymake/ChangeLog,v 1.1 2010/11/03 08:39:25 tomka Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/polymake/ChangeLog,v 1.2 2010/11/16 23:33:43 tomka Exp $ + +*polymake-2.9.9 (16 Nov 2010) + + 16 Nov 2010; Thomas Kahle <tomka@gentoo.org> + +files/2.9.9-gentoo-binutils.patch, -polymake-2.9.8.ebuild, + +polymake-2.9.9.ebuild: + bump to 2.9.9, remove 2.9.8. Fixes a build failure that Luigi Malago + found. *polymake-2.9.8 (03 Nov 2010) diff --git a/sci-mathematics/polymake/Manifest b/sci-mathematics/polymake/Manifest index b0935729c811..4213aec8814d 100644 --- a/sci-mathematics/polymake/Manifest +++ b/sci-mathematics/polymake/Manifest @@ -1,14 +1,15 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -DIST polymake-2.9.8.tar.bz2 1152045 RMD160 cef595f5d85964e31037ac9e407233fd2db568ce SHA1 4eab7063f6ff312ce30b1f279eaa2a9cc6f890ee SHA256 5d7dee7cae6117ea0330daa3248a4fec3cbda59222cc6e96ead51e2061e80a2c -EBUILD polymake-2.9.8.ebuild 2294 RMD160 04fef2e9c81d2025e516595221b67abb54e962c7 SHA1 21e2df00972fb6ffbca6ec4892341c539f97e784 SHA256 b13d9553daa03aeff18d6988c86f9e9e0aa86584ecd1f1dcfd0c5c7edf65c0f2 -MISC ChangeLog 375 RMD160 85d6007ddc2ba3b862a2cd2aa06432a8e3b2cb2c SHA1 2e49b0dfe14a7db36f2b3b1f72c3d9b8741f7f14 SHA256 78ab61e936df5b4fbb787bf0e197484a757af9c85113a07271c4f9cdbe40e296 +AUX 2.9.9-gentoo-binutils.patch 1193 RMD160 956cebb0a2579a748926c2c334d97c55715d2664 SHA1 32265c66312cb13cb756c9117b9286b9a7674bec SHA256 7dc0029fafce553de9205fb9e0e1566c47b851f418bd2151dd164641e6b1f733 +DIST polymake-2.9.9.tar.bz2 12656699 RMD160 460364c8d0b897eeb0c3aa4d838dd15e16b3b4e0 SHA1 3aff2105ce2903a25afbd01418b80905a278b354 SHA256 f914dbb4283e3f11c94d2fa7e0da9383c506e15678fe7b05c52eeb939508215e +EBUILD polymake-2.9.9.ebuild 1738 RMD160 660b497c9b8dc7bdc659c4b58a1fd0533c0fd40d SHA1 8539582039e5f487a5ee183184fa3b48f2970350 SHA256 13a58ab9eab304cd73c877757efe562e564037592e88e5b93e0cbe9c6bcec4fb +MISC ChangeLog 622 RMD160 b3a49eeb49513505aefed3d2cac988dcb69a7e62 SHA1 6cdfc0815999ca466faac58b3481f27bdc11b06a SHA256 246287edc777f4a3f9654bf2683b608e0477f24af9fbd8f255761a889af7160e MISC metadata.xml 494 RMD160 fde821a32a5c7a56b5b1f8a362601c44b3e5aec3 SHA1 214be3dc092fdc69a656bf9803cb48c5f63b2139 SHA256 07bcf391504a1c75b3a28ef234ec6923bbb10f53105b61f1cc849befe82d9455 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) -iEYEARECAAYFAkzRH88ACgkQnZsgo/h8kNaNwQCeKFyFBuc31rQwuX7D+7NMxd3n -/tEAoL1ysuNeg1kw31Gadq3/3PytBq/X -=bAEo +iEYEARECAAYFAkzjFOAACgkQnZsgo/h8kNaKDACcD1XQH0BKpZehQRVPUdvphV+r +E+wAni1o4mIPWZp5MNEp6HDwoi0kZZWp +=MJVS -----END PGP SIGNATURE----- diff --git a/sci-mathematics/polymake/files/2.9.9-gentoo-binutils.patch b/sci-mathematics/polymake/files/2.9.9-gentoo-binutils.patch new file mode 100644 index 000000000000..f65f15ae32b0 --- /dev/null +++ b/sci-mathematics/polymake/files/2.9.9-gentoo-binutils.patch @@ -0,0 +1,22 @@ +diff -U 3 -dHrN polymake-2.9.9.orig/perllib/Polymake/Core/CPlusPlus_config.pm polymake-2.9.9/perllib/Polymake/Core/CPlusPlus_config.pm +--- polymake-2.9.9.orig/perllib/Polymake/Core/CPlusPlus_config.pm 2010-11-17 00:09:21.000000000 +0100 ++++ polymake-2.9.9/perllib/Polymake/Core/CPlusPlus_config.pm 2010-11-17 00:10:49.000000000 +0100 +@@ -83,7 +83,7 @@ + open my $nm, "$nm_util $file.exe |" or die "can't run nm utility: $!\n"; + my %mangled; + while (<$nm>) { +- if (my ($mangled)=/\s[TW]\s+(\S*PolymakeTest\S*)/) { ++ if (my ($mangled)=/\s[TWV]\s+(\S*PolymakeTest\S*)/) { + my $case= $mangled =~ /TestWrap/ ? 3 : $mangled =~ /TestNam/ ? 2 : $mangled =~ /TestGlob/ ? 1 : 0; + next if exists $mangled{$case}; + dbg_print( "nm extracted global name $mangled" ) if $DebugLevel; +@@ -109,7 +109,8 @@ + to proper utility paths and optional flags if necessary + . + } +- if ($demangled =~ ($case<=2 ? $constructor_re : $wrapped_constructor_re)) { ++ declare $wr_con_re=qr{.*}xo; ++ if ($demangled =~ ($case<=2 ? $constructor_re : $wr_con_re)) { + $mangled{$case}=$mangled; + } else { + dbg_print( "c++filt returned '$demangled',\n", diff --git a/sci-mathematics/polymake/polymake-2.9.8.ebuild b/sci-mathematics/polymake/polymake-2.9.9.ebuild index 940a86bf059c..50e0556382e6 100644 --- a/sci-mathematics/polymake/polymake-2.9.8.ebuild +++ b/sci-mathematics/polymake/polymake-2.9.9.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/polymake/polymake-2.9.8.ebuild,v 1.1 2010/11/03 08:39:25 tomka Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/polymake/polymake-2.9.9.ebuild,v 1.1 2010/11/16 23:33:43 tomka Exp $ EAPI=2 -inherit flag-o-matic +inherit eutils flag-o-matic DESCRIPTION="research tool for polyhedral geometry and combinatorics" SRC_URI="http://www.opt.tu-darmstadt.de/polymake/lib/exe/fetch.php/download/${P}.tar.bz2" @@ -17,6 +17,7 @@ SLOT="0" LICENSE="GPL-2" KEYWORDS="~amd64 ~x86" +# TODO: Drop java. DEPEND="dev-libs/gmp dev-libs/libxml2 dev-perl/XML-LibXML @@ -27,35 +28,20 @@ DEPEND="dev-libs/gmp >=virtual/jdk-1.5.0" RDEPEND="${DEPEND}" -src_compile(){ - # Fixing makefile to not use escaped characters - sed -i 's/uname -p/uname -i/' support/locate_build_dir - # Remove stripping from install.pl +src_prepare() { + epatch "${FILESDIR}/${PV}-gentoo-binutils.patch" sed -i '/system "strip $to"/d' support/install.pl - # Configure is asking questions - # First accept defaults - touch defaults || die "Cannot touch file" - emake configure < defaults - rm defaults - - OFLAG=`get-flag -O` - - # Now inject our answers - cd "${S}/build.`uname -i`" - sed -i 's,InstallTop=.*$,InstallTop=/usr/share/polymake,' conf.make - sed -i 's,InstallArch=.*$,InstallArch=/usr/lib/polymake,' conf.make - sed -i 's,InstallBin=.*$,InstallBin=/usr/bin,' conf.make - sed -i 's,InstallDoc=.*$,InstallDoc=/usr/share/doc/${PF},' conf.make - sed -i "s,CXXOPT=.*$,CXXOPT=${OFLAG}," conf.make - cd "${S}" - # The makefile respects CXXFLAGS and friends from the environment - einfo "During compile this package uses up to" einfo "750MB of RAM per process. Use MAKEOPTS=\"-j1\" if" einfo "you run into trouble." +} - emake || die "emake failed" +src_configure () { + export CXXOPT=$(get-flag -O) + # Configure does not accept --host, therefore econf cannot be used + ./configure --prefix=/usr \ + --libdir=/usr/$(get_libdir) } src_install(){ @@ -64,8 +50,7 @@ src_install(){ pkg_postinst(){ elog "Polymake uses Perl Modules compiled during install." - elog "If something does not work after an upgrade of Perl" - elog "please re-emerge polymake" + elog "You have to reinstall polymake after an upgrade of Perl." elog " " elog "This version of polymake does not ship docs. Sorry." elog "Help can be found on http://www.opt.tu-darmstadt.de/polymake_doku/ " |