summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <tomka@gentoo.org>2011-01-10 20:34:49 +0000
committerThomas Kahle <tomka@gentoo.org>2011-01-10 20:34:49 +0000
commit6d710cbc21881894c22b52c4dd78d4f20cd4fa2a (patch)
tree55344d71343eab4b769efe65587af6788f16cc58 /sci-mathematics
parentinitial commit - ebuild submissions by Cyp via bug #248393 (diff)
downloadhistorical-6d710cbc21881894c22b52c4dd78d4f20cd4fa2a.tar.gz
historical-6d710cbc21881894c22b52c4dd78d4f20cd4fa2a.tar.bz2
historical-6d710cbc21881894c22b52c4dd78d4f20cd4fa2a.zip
macos prefix support added, contributed by François Bissey
Package-Manager: portage-2.1.9.26/cvs/Linux i686
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/singular/ChangeLog7
-rw-r--r--sci-mathematics/singular/Manifest10
-rw-r--r--sci-mathematics/singular/singular-3.1.2-r2.ebuild17
3 files changed, 19 insertions, 15 deletions
diff --git a/sci-mathematics/singular/ChangeLog b/sci-mathematics/singular/ChangeLog
index 5473d0983724..68d35561cdc0 100644
--- a/sci-mathematics/singular/ChangeLog
+++ b/sci-mathematics/singular/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-mathematics/singular
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/ChangeLog,v 1.38 2010/12/07 17:16:48 tomka Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/ChangeLog,v 1.39 2011/01/10 20:34:49 tomka Exp $
+
+ 10 Jan 2011; Thomas Kahle <tomka@gentoo.org> singular-3.1.2-r2.ebuild:
+ macos prefix support added, contributed by François Bissey
07 Dec 2010; Thomas Kahle <tomka@gentoo.org> singular-3.1.2-r2.ebuild:
restricting tests, upstream does not care about them
diff --git a/sci-mathematics/singular/Manifest b/sci-mathematics/singular/Manifest
index 122ec7d6e191..c3ec0be6c5f5 100644
--- a/sci-mathematics/singular/Manifest
+++ b/sci-mathematics/singular/Manifest
@@ -12,13 +12,13 @@ DIST Singular-3-0-1-share.tar.gz 3909236 RMD160 f1a1792cbb0688e1353285f898a2e40b
DIST Singular-3-1-2-share.tar.gz 9341118 RMD160 585f8d77ec3624eea298b85bdd4f8d6383d63fd2 SHA1 eb98e7c63c2f73ecdee83ce45274127b8246008f SHA256 03ca31608684a02f645c3ab75fe06402fc076f05e1ed7154427855affbfab45e
DIST Singular-3-1-2.tar.gz 19564373 RMD160 53f407f62af36a8570b027c30b73c54dc106b290 SHA1 19ede02ed4cd513efd20f5a54568bc096e1d2c35 SHA256 4fbe46cca2aef42fdf73ef8556350278f9f3b3d5d0d1b8e21c1a182e59f2b88a
EBUILD singular-3.0.1.2.ebuild 3130 RMD160 4671045a9d23f1e14419d6e075b44ddb4ceb11a5 SHA1 77cd6c69b3da929d6c55516d50574fe4bf09cba5 SHA256 e88cf1f5a012518d6f5c6c4bde1215b8f7928a192c053b8c2965f03b4697c5ce
-EBUILD singular-3.1.2-r2.ebuild 4732 RMD160 add906a3dc900536d6605f7196538c0210530e58 SHA1 438ca2831852c195ee7f32d09d667b9702f2aa18 SHA256 286424111fce336587da91961df5da189a9ace65797883c54d95162661cddac8
-MISC ChangeLog 9847 RMD160 3b024ce00d507d93ed6dd007e7c8722ea89cbb19 SHA1 23e24392e214cc9ab25313b0dff1a7b178550ab2 SHA256 623cd69054eac8ad064fd2310e57614834765dfe844684976ccc291b5fe2a2d6
+EBUILD singular-3.1.2-r2.ebuild 4831 RMD160 b8501fb9063cdbbf0493ae600bb6391d19d7cc82 SHA1 8ca26026f2de3bee2838e25e8e7211f9c257cb44 SHA256 f4dbbb27fdc8075fe2aeb66f96bca79b265db19da76e452c2698b088a56842f6
+MISC ChangeLog 9983 RMD160 7725d8c10599d9b9ac606b3c52f033aaa73a934b SHA1 7ae268b3f494cddf06cb673a1accad5c2b6d750a SHA256 606749173c6b4d41c2d28f6141431420778a43e43f72d572cb7066da6afa2f45
MISC metadata.xml 369 RMD160 a0e979ca13cc60ced54af5d3c02cfb8b76bd6af1 SHA1 dcc261552e4483b66399c450482fc112e6a27994 SHA256 cff5f6b561efdc5121015bb0afc25656aa698d41b6c3c62019e13b5fa0980e20
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
-iEYEARECAAYFAkz+bAkACgkQnZsgo/h8kNZHgQCdEzX28bEnTc0gZxzBkiYHYG2z
-nr8AnjDJ3Rzu3aNE/u/7oXeL+gAtCiE9
-=6Jmv
+iEUEARECAAYFAk0rbPIACgkQnZsgo/h8kNYALwCfc7IpaJ5C2Mcxz0BJUVr1eXi8
+oB0AmIE/UuLS1QxU9z/zIXyaC0T4Ops=
+=wzYo
-----END PGP SIGNATURE-----
diff --git a/sci-mathematics/singular/singular-3.1.2-r2.ebuild b/sci-mathematics/singular/singular-3.1.2-r2.ebuild
index 851be8b182fe..b034b862bab4 100644
--- a/sci-mathematics/singular/singular-3.1.2-r2.ebuild
+++ b/sci-mathematics/singular/singular-3.1.2-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/singular-3.1.2-r2.ebuild,v 1.4 2010/12/07 17:16:48 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/singular/singular-3.1.2-r2.ebuild,v 1.5 2011/01/10 20:34:49 tomka Exp $
EAPI="3"
WANT_AUTOCONF="2.1" # Upstream ticket 240 -> wontfix
@@ -26,7 +26,7 @@ SRC_URI="${SRC_COM}${MY_DIR}/${MY_PN}-${MY_PV}.tar.gz
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~x86-linux"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-linux ~x86-macos"
IUSE="boost doc emacs examples +readline test"
RDEPEND="dev-libs/gmp
@@ -70,11 +70,6 @@ src_prepare () {
-e "s/SLDFLAGS=-shared/SLDFLAGS=\"$(raw-ldflags) -shared\"/" \
"${S}"/Singular/configure.in || die
- SOSUFFIX=$(get_version_component_range 1-3)
- sed -i \
- -e "s:SO_SUFFIX = so:SO_SUFFIX = so.${SOSUFFIX}:" \
- "${S}"/Singular/Makefile.in || die
-
cd "${S}"/Singular || die "failed to cd into Singular/"
eautoconf
}
@@ -124,6 +119,12 @@ src_install () {
dobin ${MY_PN}* gen_test change_cost solve_IP toric_ideal LLL \
|| die "failed to install binaries"
insinto /usr/$(get_libdir)/${PN}
+ # fix install_name on macos, the build system is buggy enough not to add extra for OS X.
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ for d in *.so ; do
+ install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${PN}/${d}" "${d}"
+ done
+ fi
doins *.so || die "failed to install libraries"
dosym ${MY_PN}-${MY_DIR} /usr/bin/${MY_PN} \