diff options
author | Daniel Black <dragonheart@gentoo.org> | 2006-07-28 14:58:17 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2006-07-28 14:58:17 +0000 |
commit | 9e570f5bcffac4c2815943586ce462f62f123003 (patch) | |
tree | 8a87db015ec29cd222e09b6171351c0b19810e21 /dev-libs/mpfr | |
parent | Version bump. Stops installing garbage and starts installing tools. (diff) | |
download | historical-9e570f5bcffac4c2815943586ce462f62f123003.tar.gz historical-9e570f5bcffac4c2815943586ce462f62f123003.tar.bz2 historical-9e570f5bcffac4c2815943586ce462f62f123003.zip |
more upstream patches
Package-Manager: portage-2.1.1_pre3-r5
Diffstat (limited to 'dev-libs/mpfr')
-rw-r--r-- | dev-libs/mpfr/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/mpfr/Manifest | 29 | ||||
-rw-r--r-- | dev-libs/mpfr/files/2.2.0/patch13 | 74 | ||||
-rw-r--r-- | dev-libs/mpfr/files/2.2.0/patch14 | 134 | ||||
-rw-r--r-- | dev-libs/mpfr/files/digest-mpfr-2.2.0_p14 | 6 | ||||
-rw-r--r-- | dev-libs/mpfr/mpfr-2.2.0_p14.ebuild | 59 |
6 files changed, 302 insertions, 8 deletions
diff --git a/dev-libs/mpfr/ChangeLog b/dev-libs/mpfr/ChangeLog index ecb1f292ea74..e3cc2ea0c785 100644 --- a/dev-libs/mpfr/ChangeLog +++ b/dev-libs/mpfr/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/mpfr # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/ChangeLog,v 1.25 2006/07/18 14:08:38 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/ChangeLog,v 1.26 2006/07/28 14:58:17 dragonheart Exp $ + +*mpfr-2.2.0_p14 (28 Jul 2006) + + 28 Jul 2006; Daniel Black <dragonheart@gentoo.org> +files/2.2.0/patch13, + +files/2.2.0/patch14, +mpfr-2.2.0_p14.ebuild: + more upstream patches *mpfr-2.2.0_p12 (19 Jul 2006) diff --git a/dev-libs/mpfr/Manifest b/dev-libs/mpfr/Manifest index e5ea08f80c2d..8ad01193c959 100644 --- a/dev-libs/mpfr/Manifest +++ b/dev-libs/mpfr/Manifest @@ -49,6 +49,14 @@ AUX 2.2.0/patch12 5627 RMD160 e7c180dfd9fd8d9e2d56f05994f4588290dfda34 SHA1 1fbb MD5 03b0958674a50632c309251c5935de50 files/2.2.0/patch12 5627 RMD160 e7c180dfd9fd8d9e2d56f05994f4588290dfda34 files/2.2.0/patch12 5627 SHA256 3073a8f5dd73067207ce5a346559b643b250a62a479e6275e1ed750fa7c1dae9 files/2.2.0/patch12 5627 +AUX 2.2.0/patch13 2635 RMD160 38fdffb30c7871a3bee5a8caf6ffafeadba8957c SHA1 197eb6bf0c5acad867c08866c43c0541d055ad6d SHA256 dbe9286e0f5447dd6c498a45a068f4de163b31c5c41cde70a0406e34e0ea06a9 +MD5 cd058f620dd3d14f2f4615cdfe04112a files/2.2.0/patch13 2635 +RMD160 38fdffb30c7871a3bee5a8caf6ffafeadba8957c files/2.2.0/patch13 2635 +SHA256 dbe9286e0f5447dd6c498a45a068f4de163b31c5c41cde70a0406e34e0ea06a9 files/2.2.0/patch13 2635 +AUX 2.2.0/patch14 4141 RMD160 881c2fc2512c185ef65a22edc096bde6b2826dba SHA1 e27f030e3c4bba98d4003436f7dc9bb7ae292b46 SHA256 28a9ebdfae2d313592ffa21e48705f52774548d78da13d76ae6f35452efc2e66 +MD5 24e2201c022332d42decda15c8f444e1 files/2.2.0/patch14 4141 +RMD160 881c2fc2512c185ef65a22edc096bde6b2826dba files/2.2.0/patch14 4141 +SHA256 28a9ebdfae2d313592ffa21e48705f52774548d78da13d76ae6f35452efc2e66 files/2.2.0/patch14 4141 DIST mpfr-2.2.0.tar.bz2 728490 RMD160 5243eb0387392123d9d30ca009b30147a51370a6 SHA1 3894bf68982e6218fd94ee743f05c0554a35536a SHA256 cea002a11707b5f8fb2147686145563e5f313fc62558e8400444bdcf89971e6a DIST mpfr-2.2.0_p5 27251 RMD160 7e60b2be4691235de88646534b64cd12cdc1a45d SHA1 b2600dead06a074fc4485d1a2f3e4940a1c54134 SHA256 1e253c48800667d295e5ec3407b8e27a86e385706ecb49a7dc51503839752309 EBUILD mpfr-2.2.0_p10.ebuild 1547 RMD160 254c06ca9da0ad06c2da326d8dc1e5d2a9f8d1a0 SHA1 85cc008f9972fb8c0e02cc990bb03669105e6316 SHA256 714f4b9d8f871ce82d073e4ae016864280a139b6503dae3ee562d3783c6778d1 @@ -59,6 +67,10 @@ EBUILD mpfr-2.2.0_p12.ebuild 1581 RMD160 3927c0583462642dde00b93030406d478b66fd0 MD5 9767fa1274634ca231332c381d2bf26b mpfr-2.2.0_p12.ebuild 1581 RMD160 3927c0583462642dde00b93030406d478b66fd0f mpfr-2.2.0_p12.ebuild 1581 SHA256 eb05315e4291f6a4a24e0f9198e299442bbbfa407a75342d31df4e5c24338220 mpfr-2.2.0_p12.ebuild 1581 +EBUILD mpfr-2.2.0_p14.ebuild 1581 RMD160 64f6362c3f1a90440b833a3aeb15b5bbe35b8152 SHA1 555f37407ba2f05335e36f218c5f604b82e1964f SHA256 6a642974e212cb6b8a38d6b0121c5b29ac3c29e2de40dfd0ac32163e68d76bc1 +MD5 670f7fe0de74659f9a5b1e1133946667 mpfr-2.2.0_p14.ebuild 1581 +RMD160 64f6362c3f1a90440b833a3aeb15b5bbe35b8152 mpfr-2.2.0_p14.ebuild 1581 +SHA256 6a642974e212cb6b8a38d6b0121c5b29ac3c29e2de40dfd0ac32163e68d76bc1 mpfr-2.2.0_p14.ebuild 1581 EBUILD mpfr-2.2.0_p4.ebuild 989 RMD160 b9bd8a5e30c0161aeaeeb42c66847d0c0b8f67e9 SHA1 385316d1727042a1a720615c211988f77b86ebd6 SHA256 c708c4de7353067beffa166f9b5f701a7598518f02cf617cfae9a963514552b3 MD5 1f24967b020bfa3ff3f06e07e7326974 mpfr-2.2.0_p4.ebuild 989 RMD160 b9bd8a5e30c0161aeaeeb42c66847d0c0b8f67e9 mpfr-2.2.0_p4.ebuild 989 @@ -71,10 +83,10 @@ EBUILD mpfr-2.2.0_p8.ebuild 1536 RMD160 ec9ef640a0987a0560616e1c5922b0df3535ba6d MD5 bd285d03cf90ba2c2f2815e9aea15389 mpfr-2.2.0_p8.ebuild 1536 RMD160 ec9ef640a0987a0560616e1c5922b0df3535ba6d mpfr-2.2.0_p8.ebuild 1536 SHA256 85dfe5fa7b6977fb700c72e6e72d2c2a72da272c3b9b782a069d180cf3c8932c mpfr-2.2.0_p8.ebuild 1536 -MISC ChangeLog 3207 RMD160 80cab7e8d1aa921052c7375bb3fd086555dd0f63 SHA1 cfd658d14f8049d46998e9b3ca1f169741ae9df2 SHA256 e76dcf2ac2e9e54fef0448a5b50f1f8c9e02985f703c5b1e99497a77d6b4d95f -MD5 de10aa45b5c362d1c5790251a0f049b3 ChangeLog 3207 -RMD160 80cab7e8d1aa921052c7375bb3fd086555dd0f63 ChangeLog 3207 -SHA256 e76dcf2ac2e9e54fef0448a5b50f1f8c9e02985f703c5b1e99497a77d6b4d95f ChangeLog 3207 +MISC ChangeLog 3386 RMD160 1302dbef473467830d732ff47e01b6eaba3e9481 SHA1 40150db4f3d65cd4b9cd06ee1f72fc75fa4cb470 SHA256 4295782cf9c5f3e8db65d2f8396a76fe9ceae17b49fac64c73df6fe7590e8e14 +MD5 9b0a80005c15d44ac7a45157eae094a3 ChangeLog 3386 +RMD160 1302dbef473467830d732ff47e01b6eaba3e9481 ChangeLog 3386 +SHA256 4295782cf9c5f3e8db65d2f8396a76fe9ceae17b49fac64c73df6fe7590e8e14 ChangeLog 3386 MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a MD5 567094e03359ffc1c95af7356395228d metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 metadata.xml 162 @@ -85,6 +97,9 @@ SHA256 fd671c3ccece1d416e9b46718913d3ed839e8d0129ad8577df0551e91e6f6ece files/di MD5 f515569e399ff1b91bd8361728ae26a1 files/digest-mpfr-2.2.0_p12 452 RMD160 77c49e26a5a04eb5fdf1356812b0bd59034eaaa9 files/digest-mpfr-2.2.0_p12 452 SHA256 fd671c3ccece1d416e9b46718913d3ed839e8d0129ad8577df0551e91e6f6ece files/digest-mpfr-2.2.0_p12 452 +MD5 f515569e399ff1b91bd8361728ae26a1 files/digest-mpfr-2.2.0_p14 452 +RMD160 77c49e26a5a04eb5fdf1356812b0bd59034eaaa9 files/digest-mpfr-2.2.0_p14 452 +SHA256 fd671c3ccece1d416e9b46718913d3ed839e8d0129ad8577df0551e91e6f6ece files/digest-mpfr-2.2.0_p14 452 MD5 8fbaf63ff803369c691dbea58a4d82ec files/digest-mpfr-2.2.0_p4 235 RMD160 5656314e26743b08cf24dc393d910c49f9f80fe7 files/digest-mpfr-2.2.0_p4 235 SHA256 312197fd39173814d993be2a221e9a9ea718ca0e9450e70ebae8d954ea63d12f files/digest-mpfr-2.2.0_p4 235 @@ -97,7 +112,7 @@ SHA256 fd671c3ccece1d416e9b46718913d3ed839e8d0129ad8577df0551e91e6f6ece files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4-ecc0.1.6 (GNU/Linux) -iD8DBQFEvsTdmdTrptrqvGERAg3yAJ46DWAwwjj/zBEVc9mdpbCiA938SQCfVD1p -n2/gtEoYOqivKV5iVAdH++s= -=bVQ7 +iD8DBQFEyif0mdTrptrqvGERAmvRAJ9jhhOKVSyStk8H+QSfBPz+hO9kJgCfT2MY +C//16X5QRGZeuJOhbgA0Azg= +=qoxM -----END PGP SIGNATURE----- diff --git a/dev-libs/mpfr/files/2.2.0/patch13 b/dev-libs/mpfr/files/2.2.0/patch13 new file mode 100644 index 000000000000..303691be1229 --- /dev/null +++ b/dev-libs/mpfr/files/2.2.0/patch13 @@ -0,0 +1,74 @@ +diff -Naurd mpfr-2.2.0-p12/configure mpfr-2.2.0-p13/configure +--- mpfr-2.2.0-p12/configure 2006-05-26 22:08:17.000000000 +0000 ++++ mpfr-2.2.0-p13/configure 2006-07-21 13:56:45.000000000 +0000 +@@ -2053,7 +2053,7 @@ + # Check whether --with-gmp_lib or --without-gmp_lib was given. + if test "${with_gmp_lib+set}" = set; then + withval="$with_gmp_lib" +- LDFLAGS="-L$withval $LDFLAGS" ++ LDFLAGS="$LDFLAGS -L$withval" + fi; + + # Check whether --with-gmp_build or --without-gmp_build was given. +@@ -2061,7 +2061,7 @@ + withval="$with_gmp_build" + + CPPFLAGS="$CPPFLAGS -I$withval -I$withval/tune" +- LDFLAGS="-L$withval -L$withval/.libs -L$withval/tune/ $LDFLAGS" ++ LDFLAGS="$LDFLAGS -L$withval -L$withval/.libs -L$withval/tune/" + if test -r $withval/Makefile ; then + GMP_CFLAGS=`grep -w "CFLAGS =" $withval/Makefile | sed 's/CFLAGS = //'` + GMP_CC=`grep -w "CC =" $withval/Makefile | sed 's/CC = //'` +@@ -2074,7 +2074,7 @@ + withval="$with_gmp" + + CPPFLAGS="$CPPFLAGS -I$withval/include" +- LDFLAGS="-L$withval/lib $LDFLAGS" ++ LDFLAGS="$LDFLAGS -L$withval/lib" + fi; + + +@@ -4108,7 +4108,7 @@ + case $OS_TYPE in + HP-UX*) + if test -n "$GCC"; then +- LDFLAGS="-Xlinker +allowunsats $LDFLAGS" ++ LDFLAGS="$LDFLAGS -Xlinker +allowunsats" + fi + ;; + IRIX64) +diff -Naurd mpfr-2.2.0-p12/configure.in mpfr-2.2.0-p13/configure.in +--- mpfr-2.2.0-p12/configure.in 2005-09-17 10:27:28.000000000 +0000 ++++ mpfr-2.2.0-p13/configure.in 2005-09-17 10:27:28.000000000 +0000 +@@ -40,11 +40,11 @@ + CPPFLAGS="$CPPFLAGS -I$withval") + AC_ARG_WITH(gmp_lib, + [ --with-gmp-lib=DIR GMP lib directory ], +- LDFLAGS="-L$withval $LDFLAGS") ++ LDFLAGS="$LDFLAGS -L$withval") + AC_ARG_WITH(gmp_build, + [ --with-gmp-build=DIR GMP build directory], [ + CPPFLAGS="$CPPFLAGS -I$withval -I$withval/tune" +- LDFLAGS="-L$withval -L$withval/.libs -L$withval/tune/ $LDFLAGS" ++ LDFLAGS="$LDFLAGS -L$withval -L$withval/.libs -L$withval/tune/" + if test -r $withval/Makefile ; then + GMP_CFLAGS=`grep -w "CFLAGS =" $withval/Makefile | sed 's/CFLAGS = //'` + GMP_CC=`grep -w "CC =" $withval/Makefile | sed 's/CC = //'` +@@ -53,7 +53,7 @@ + AC_ARG_WITH(gmp, + [ --with-gmp=DIR GMP install directory ], [ + CPPFLAGS="$CPPFLAGS -I$withval/include" +- LDFLAGS="-L$withval/lib $LDFLAGS" ]) ++ LDFLAGS="$LDFLAGS -L$withval/lib" ]) + + AC_ARG_WITH(irix64, + [ --with-irix64=on/off Irix 32/64 bits support ], +@@ -165,7 +165,7 @@ + case $OS_TYPE in + HP-UX*) + if test -n "$GCC"; then +- LDFLAGS="-Xlinker +allowunsats $LDFLAGS" ++ LDFLAGS="$LDFLAGS -Xlinker +allowunsats" + fi + ;; + IRIX64) diff --git a/dev-libs/mpfr/files/2.2.0/patch14 b/dev-libs/mpfr/files/2.2.0/patch14 new file mode 100644 index 000000000000..45507c1560c9 --- /dev/null +++ b/dev-libs/mpfr/files/2.2.0/patch14 @@ -0,0 +1,134 @@ +diff -Naurd mpfr-2.2.0-p13/acinclude.m4 mpfr-2.2.0-p14/acinclude.m4 +--- mpfr-2.2.0-p13/acinclude.m4 2005-09-02 14:32:14.000000000 +0000 ++++ mpfr-2.2.0-p14/acinclude.m4 2005-09-02 14:32:14.000000000 +0000 +@@ -551,3 +551,21 @@ + ;; + esac + ]) ++ ++ ++dnl MPFR_LD_SEARCH_PATHS_FIRST ++dnl -------------------------- ++ ++AC_DEFUN([MPFR_LD_SEARCH_PATHS_FIRST], ++[case "$LD $LDFLAGS" in ++ *-Wl,-search_paths_first*) ;; ++ *) AC_MSG_CHECKING([if the compiler understands -Wl,-search_paths_first]) ++ saved_LDFLAGS="$LDFLAGS" ++ LDFLAGS="-Wl,-search_paths_first $LDFLAGS" ++ AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[]])], ++ [AC_MSG_RESULT(yes)], ++ [AC_MSG_RESULT(no)] ++ LDFLAGS="$saved_LDFLAGS") ++ ;; ++ esac ++]) +diff -Naurd mpfr-2.2.0-p13/configure mpfr-2.2.0-p14/configure +--- mpfr-2.2.0-p13/configure 2006-07-21 13:56:45.000000000 +0000 ++++ mpfr-2.2.0-p14/configure 2006-07-25 21:33:01.000000000 +0000 +@@ -4120,6 +4120,81 @@ + ;; + esac + ++case $host in ++ *-apple-darwin*) ++ case "$LD $LDFLAGS" in ++ *-Wl,-search_paths_first*) ;; ++ *) { echo "$as_me:$LINENO: checking if the compiler understands -Wl,-search_paths_first" >&5 ++echo $ECHO_N "checking if the compiler understands -Wl,-search_paths_first... $ECHO_C" >&6; } ++ saved_LDFLAGS="$LDFLAGS" ++ LDFLAGS="-Wl,-search_paths_first $LDFLAGS" ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && ++ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' ++ { (case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; } && ++ { ac_try='test -s conftest$ac_exeext' ++ { (case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; }; then ++ { echo "$as_me:$LINENO: result: yes" >&5 ++echo "${ECHO_T}yes" >&6; } ++else ++ echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ { echo "$as_me:$LINENO: result: no" >&5 ++echo "${ECHO_T}no" >&6; } ++ LDFLAGS="$saved_LDFLAGS" ++fi ++ ++rm -f core conftest.err conftest.$ac_objext \ ++ conftest$ac_exeext conftest.$ac_ext ++ ;; ++ esac ++ ;; ++esac ++ + echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 + echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 + if test "${ac_cv_c_const+set}" = set; then +diff -Naurd mpfr-2.2.0-p13/configure.in mpfr-2.2.0-p14/configure.in +--- mpfr-2.2.0-p13/configure.in 2005-09-17 10:27:28.000000000 +0000 ++++ mpfr-2.2.0-p14/configure.in 2005-09-17 10:27:28.000000000 +0000 +@@ -177,6 +177,20 @@ + ;; + esac + ++dnl $OS_TYPE is not defined on darwin, so we use $host ++case $host in ++ *-apple-darwin*) ++dnl This allows to take the first GMP library in the library paths, ++dnl whether it is dynamic or static. This behavior is more sensible, ++dnl in particular because it is the only way to link with a version ++dnl only available in static form when another version is available ++dnl in dynamic, and also for consistency, because the compiler will ++dnl take the first gmp.h found in the include paths (so, we need to ++dnl take a library that corresponds to this header file). This is a ++dnl common problem with darwin. ++ MPFR_LD_SEARCH_PATHS_FIRST ;; ++esac ++ + AC_C_CONST + AC_C_VOLATILE + MPFR_CONFIGS diff --git a/dev-libs/mpfr/files/digest-mpfr-2.2.0_p14 b/dev-libs/mpfr/files/digest-mpfr-2.2.0_p14 new file mode 100644 index 000000000000..4d1063c367b4 --- /dev/null +++ b/dev-libs/mpfr/files/digest-mpfr-2.2.0_p14 @@ -0,0 +1,6 @@ +MD5 1a81f721ee78cb027f6c41a243d3a33d mpfr-2.2.0.tar.bz2 728490 +RMD160 5243eb0387392123d9d30ca009b30147a51370a6 mpfr-2.2.0.tar.bz2 728490 +SHA256 cea002a11707b5f8fb2147686145563e5f313fc62558e8400444bdcf89971e6a mpfr-2.2.0.tar.bz2 728490 +MD5 5c4db32dfaef7d032e2f359cacebf7ce mpfr-2.2.0_p5 27251 +RMD160 7e60b2be4691235de88646534b64cd12cdc1a45d mpfr-2.2.0_p5 27251 +SHA256 1e253c48800667d295e5ec3407b8e27a86e385706ecb49a7dc51503839752309 mpfr-2.2.0_p5 27251 diff --git a/dev-libs/mpfr/mpfr-2.2.0_p14.ebuild b/dev-libs/mpfr/mpfr-2.2.0_p14.ebuild new file mode 100644 index 000000000000..1797a52547f8 --- /dev/null +++ b/dev-libs/mpfr/mpfr-2.2.0_p14.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpfr/mpfr-2.2.0_p14.ebuild,v 1.1 2006/07/28 14:58:17 dragonheart Exp $ + +inherit eutils flag-o-matic autotools + +MY_PV=${PV/_p*} +MY_P=${PN}-${MY_PV} +PLEVEL=${PV/*p} +DESCRIPTION="library for multiple-precision floating-point computations with exact rounding" +HOMEPAGE="http://www.mpfr.org/" +SRC_URI="http://www.mpfr.org/mpfr-current/${MY_P}.tar.bz2 + mirror://gentoo/mpfr-2.2.0_p5" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="" + +DEPEND=">=dev-libs/gmp-4.1.4-r2" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack "${MY_P}.tar.bz2" + cd "${S}" + for ((i=1; i<=PLEVEL; ++i)) ; do + patch=patch$(printf '%02d' ${i}) + if [[ -f ${FILESDIR}/${MY_PV}/${patch} ]] ; then + epatch "${FILESDIR}"/${MY_PV}/${patch} + elif [[ -f ${DISTDIR}/${PN}-${MY_PV}_p${i} ]] ; then + epatch "${DISTDIR}"/${PN}-${MY_PV}_p${i} + else + ewarn "${DISTDIR}/${PN}-${MY_PV}_p${i}" + die "patch ${i} missing - please report to bugs.gentoo.org" + fi + done + + # Disable buggy code on s390/hppa #126082 + epatch "${FILESDIR}"/${MY_PV}/debian-disable-buggy-umul_ppmm.patch + eautoreconf +} + +src_compile() { + # tests fail on amd64 with -ffast-math, maybe other arches too + use amd64 && filter-flags -ffast-math + + econf \ + --enable-shared \ + --enable-static \ + || die + emake || die +} + +src_install() { + make install DESTDIR="${D}" || die + dodoc AUTHORS BUGS ChangeLog NEWS README TODO + dohtml *.html +} |