summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-12-22 05:20:29 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-12-22 05:20:29 +0000
commit58c9ad00dac90ba2c3208c818deda9e0844594b4 (patch)
tree11e191b048c578deed6722f55e858227062d6541 /sci-mathematics/unuran
parent0.7.34 version bump. (diff)
downloadhistorical-58c9ad00dac90ba2c3208c818deda9e0844594b4.tar.gz
historical-58c9ad00dac90ba2c3208c818deda9e0844594b4.tar.bz2
historical-58c9ad00dac90ba2c3208c818deda9e0844594b4.zip
Make sure it links with all gsl libraries when enabled
Package-Manager: portage-2.1.9.25/cvs/Linux x86_64
Diffstat (limited to 'sci-mathematics/unuran')
-rw-r--r--sci-mathematics/unuran/ChangeLog6
-rw-r--r--sci-mathematics/unuran/Manifest10
-rw-r--r--sci-mathematics/unuran/files/unuran-1.8.0-nogsl.patch22
3 files changed, 27 insertions, 11 deletions
diff --git a/sci-mathematics/unuran/ChangeLog b/sci-mathematics/unuran/ChangeLog
index 497a3ec8f9d1..ea9075367c16 100644
--- a/sci-mathematics/unuran/ChangeLog
+++ b/sci-mathematics/unuran/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-mathematics/unuran
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/unuran/ChangeLog,v 1.2 2010/12/18 21:46:06 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/unuran/ChangeLog,v 1.3 2010/12/22 05:20:29 bicatali Exp $
+
+ 22 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org>
+ files/unuran-1.8.0-nogsl.patch:
+ Make sure it links with all gsl libraries when enabled
18 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org> unuran-1.8.0.ebuild:
Fixed typo, thanks Helmut Jarausch bug #348995
diff --git a/sci-mathematics/unuran/Manifest b/sci-mathematics/unuran/Manifest
index 23cf5e83fad3..2c062a9480c2 100644
--- a/sci-mathematics/unuran/Manifest
+++ b/sci-mathematics/unuran/Manifest
@@ -1,15 +1,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX unuran-1.8.0-nogsl.patch 1384 RMD160 02621c815c9d69a6a06a65e4ffc63bbed218dea0 SHA1 fbb14698ad31895758f5eccf1238159dd1363b2f SHA256 2c24e13dc54e4d28b474e3f248d05f1cb99f5dfb9c9a8796d825a5c492b00b23
+AUX unuran-1.8.0-nogsl.patch 1758 RMD160 9ed9194d45fba75748216269b80536f5c789a1a4 SHA1 95c595085769dbe313b482d20e66c9d28f3e48da SHA256 c80a85da70051840be8b270ebbdcb9aa345e14f6343cbf1edd5a92eadf4263e0
DIST unuran-1.8.0.tar.gz 4274481 RMD160 57e2f283ea71d928903c9263ff3a177234d27cbd SHA1 bcb136895bb9624a3cbaf66703a27de81df1d149 SHA256 da5c8255d4743e90a46e792dcba9d149c645423cf52e1548a554cd6f66c40c53
EBUILD unuran-1.8.0.ebuild 1302 RMD160 1152ee54d3e6a0da33772cebab21f03bb502391a SHA1 34234804650bed3c6b985d77ed428823b5c21f13 SHA256 eceff2c5978dd8023b63d7f6c3e89ec3909083d30c3e4ad880aebd3a58c9e205
-MISC ChangeLog 892 RMD160 09be3736ca6d2154b1e0bc83b740a3f548bb27d6 SHA1 a55569f8ee602a7a08c664b422a14ef2cdbeda60 SHA256 1065c66efe3045db08a32906f66a66298b28eeb1112a71ea1a1077803c55d37a
+MISC ChangeLog 1039 RMD160 a55c9284bdcf28745a4ad01901f0adb4879475f4 SHA1 e8b6b0776a71759bd7a036350d348f54d3385510 SHA256 9a0154cbd488f9cf5c1fbe9fcb6860d6d4f0325b634e9f3fd50332ea0dbefe51
MISC metadata.xml 660 RMD160 2662abac13074c0d3b0c5a06c51dfca9cf3d8194 SHA1 c0cdcbeb38fcfb3417a75f5adb12f5d169f6c7d7 SHA256 90a4bf78849c3cd54a5b7866c1f9123c67a017702c3a0ac5ad5db02344e9f23b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
-iEYEARECAAYFAk0NK6oACgkQ1ycZbhPLE2CDswCfe1CfjKcYPxpVLkhp1h7TGUwP
-BcEAn2hKvAsd+k1YCDBcDRU2AY2BQd1j
-=ttjG
+iEYEARECAAYFAk0RiqUACgkQ1ycZbhPLE2CqYgCglJ0RuewmAmHsWx/+ddnPr5Vk
+vIMAn22mveXaIIxdJe3Sx89mSIpuQIUn
+=InSe
-----END PGP SIGNATURE-----
diff --git a/sci-mathematics/unuran/files/unuran-1.8.0-nogsl.patch b/sci-mathematics/unuran/files/unuran-1.8.0-nogsl.patch
index f9db7d9ebe5d..f6266532e83e 100644
--- a/sci-mathematics/unuran/files/unuran-1.8.0-nogsl.patch
+++ b/sci-mathematics/unuran/files/unuran-1.8.0-nogsl.patch
@@ -1,6 +1,6 @@
diff -Nur unuran-1.8.0.orig/configure.ac unuran-1.8.0/configure.ac
---- unuran-1.8.0.orig/configure.ac 2010-10-16 18:38:08.000000000 +0100
-+++ unuran-1.8.0/configure.ac 2010-10-16 19:10:23.000000000 +0100
+--- unuran-1.8.0.orig/configure.ac 2010-12-22 05:11:07.000000000 +0000
++++ unuran-1.8.0/configure.ac 2010-12-22 05:15:35.000000000 +0000
@@ -62,10 +62,6 @@
dnl libm: the standard math library
AC_CHECK_LIB([m], [sqrt])
@@ -12,7 +12,19 @@ diff -Nur unuran-1.8.0.orig/configure.ac unuran-1.8.0/configure.ac
dnl Optional support for external uniform random number generators
dnl RngStream: Pierre L'Ecuyer's multiple random stream generator
-@@ -215,7 +211,8 @@
+@@ -80,6 +76,11 @@
+ AX_ADD_URNG_LIB([gsl],[GSL],[random number generators from GNU Scientific Library],
+ [gsl],[gsl_rng_alloc],[gsl/gsl_rng.h])
+
++if test -n $UNURAN_SUPPORTS_GSL; then
++ AC_PATH_PROG(GSL_CONFIG, gsl-config, no)
++ LIBS="$LIBS `$GSL_CONFIG --libs`"
++fi
++
+ dnl Default URNG
+ AC_ARG_WITH(urng_default,
+ [AS_HELP_STRING([--with-urng-default],
+@@ -215,7 +216,8 @@
[],
[enable_experimental=no])
AS_IF([test "x$enable_experimental" = xyes],
@@ -23,8 +35,8 @@ diff -Nur unuran-1.8.0.orig/configure.ac unuran-1.8.0/configure.ac
[])
AM_CONDITIONAL(ENABLE_EXPERIMENTAL, test x$enable_experimental = xyes)
diff -Nur unuran-1.8.0.orig/tests/Makefile.am unuran-1.8.0/tests/Makefile.am
---- unuran-1.8.0.orig/tests/Makefile.am 2010-10-16 18:38:08.000000000 +0100
-+++ unuran-1.8.0/tests/Makefile.am 2010-10-16 19:14:33.000000000 +0100
+--- unuran-1.8.0.orig/tests/Makefile.am 2010-12-22 05:11:07.000000000 +0000
++++ unuran-1.8.0/tests/Makefile.am 2010-12-22 05:11:19.000000000 +0000
@@ -9,7 +9,7 @@
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/tests