From cf97f381b1279626a6c7d723ac02503c9d933d4c Mon Sep 17 00:00:00 2001 From: fbrosson Date: Fri, 20 Jul 2018 01:29:38 +0000 Subject: [PATCH] sci-mathematics/pari: bump to 2.11.0. --- .../{pari-2.9.5.recipe => pari-2.11.0.recipe} | 6 +++-- ...ri-2.9.5.patchset => pari-2.11.0.patchset} | 24 +++++++++---------- 2 files changed, 16 insertions(+), 14 deletions(-) rename sci-mathematics/pari/{pari-2.9.5.recipe => pari-2.11.0.recipe} (94%) rename sci-mathematics/pari/patches/{pari-2.9.5.patchset => pari-2.11.0.patchset} (91%) diff --git a/sci-mathematics/pari/pari-2.9.5.recipe b/sci-mathematics/pari/pari-2.11.0.recipe similarity index 94% rename from sci-mathematics/pari/pari-2.9.5.recipe rename to sci-mathematics/pari/pari-2.11.0.recipe index 8a2e54927..b1e7d2aeb 100644 --- a/sci-mathematics/pari/pari-2.9.5.recipe +++ b/sci-mathematics/pari/pari-2.11.0.recipe @@ -15,16 +15,18 @@ COPYRIGHT="2000-2018 The PARI Group, Bordeaux" LICENSE="GNU GPL v2" REVISION="1" SOURCE_URI="https://pari.math.u-bordeaux.fr/pub/pari/unix/pari-$portVersion.tar.gz" -CHECKSUM_SHA256="6b451825b41d2f8b29592c08d671999527bf936789c599d77b8dfdc663f1e617" +CHECKSUM_SHA256="3835caccaa3e0c64764521032d89efeb8773cce841f6655fec6d58e790f4c9a1" PATCHES="pari-$portVersion.patchset" ARCHITECTURES="x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86_gcc2 x86" +portVers=${portVersion%.*} + PROVIDES=" pari$secondaryArchSuffix = $portVersion compat >= 2 cmd:gp$secondaryArchSuffix - cmd:gp_2.9$secondaryArchSuffix + cmd:gp_$portVers$secondaryArchSuffix cmd:gphelp$secondaryArchSuffix cmd:tex2mail$secondaryArchSuffix lib:libpari_gmp$secondaryArchSuffix = $portVersion compat >= 2 diff --git a/sci-mathematics/pari/patches/pari-2.9.5.patchset b/sci-mathematics/pari/patches/pari-2.11.0.patchset similarity index 91% rename from sci-mathematics/pari/patches/pari-2.9.5.patchset rename to sci-mathematics/pari/patches/pari-2.11.0.patchset index da67d5314..3a210cb15 100644 --- a/sci-mathematics/pari/patches/pari-2.9.5.patchset +++ b/sci-mathematics/pari/patches/pari-2.11.0.patchset @@ -5,7 +5,7 @@ Subject: we only use release versions, no point in checking .git diff --git a/config/version b/config/version -index 48acee1..c3deef4 100644 +index ed2635b..5f29f62 100644 --- a/config/version +++ b/config/version @@ -19,15 +19,6 @@ patchlevel_verbose= @@ -35,15 +35,15 @@ Subject: Haiku support. diff --git a/config/arch-osname b/config/arch-osname -index 5da1bc8..515bcfd 100755 +index 5da1bc8..3527f2f 100755 --- a/config/arch-osname +++ b/config/arch-osname @@ -74,6 +74,8 @@ if test -n "$myuname"; then case $arch in i386-*) arch=i386;;esac;; aix) arch=`uname -p`; case $arch in powerpc) arch=ppc;;esac;; -+ haiku) arch=`uname -p` -+ ;; ++ haiku) arch=`uname -p` ++ ;; esac fi echo $arch-$osname @@ -61,19 +61,19 @@ index c0054c0..ff184eb 100644 *STABLE*) sodest=.$version.$patch;; # released version *DEVELOPMENT*) sodest=.$patch.0.0;; # unstable version diff --git a/config/get_ld b/config/get_ld -index c140024..55ec128 100644 +index c140024..087895b 100644 --- a/config/get_ld +++ b/config/get_ld @@ -3,6 +3,7 @@ _ld_list='LD LDFLAGS LIBS runpathprexix LDneedsWl LDused GNULDused' case "$osname" in darwin) LIBS= ;; -+ haiku) LIBS= ;; ++ haiku) LIBS= ;; osf1) LIBS='-lm -lots';; *) LIBS=-lm;; esac diff --git a/config/get_libc b/config/get_libc -index 1a7500c..d0c583d 100644 +index 8b1f5a8..88afba1 100644 --- a/config/get_libc +++ b/config/get_libc @@ -2,7 +2,7 @@ @@ -82,9 +82,9 @@ index 1a7500c..d0c583d 100644 echo Looking in C lib for some symbols... -extra_flags=-lm +#extra_flags=-lm - list=exp2; . ./look - list=log2; . ./look - extra_flags= + + if test "$arch" = "x86_64" && test "$sizeof_long" = "8"; then + list=sse2; . ./look -- 2.13.1 @@ -96,10 +96,10 @@ Subject: Install man pages in $MANDIR/man1/ instead of $MANDIR. diff --git a/config/Makefile.SH b/config/Makefile.SH -index 54a3cb5..e44a949 100644 +index 27c6d5b..a4cc165 100644 --- a/config/Makefile.SH +++ b/config/Makefile.SH -@@ -404,17 +404,17 @@ install-bin-sta: gp-sta$exe_suff +@@ -399,17 +399,17 @@ install-bin-sta: gp-sta$exe_suff -cd \$(BINDIR); $postconfig gp-$version$exe_suff install-man::