diff options
author | nros <nros@pkgsrc.org> | 2022-10-29 18:28:06 +0000 |
---|---|---|
committer | nros <nros@pkgsrc.org> | 2022-10-29 18:28:06 +0000 |
commit | 7779ea5184db65b8cac364e0cfdc03151fa7bc46 (patch) | |
tree | 4207e481e174799a15fa3bbbc99524299317efb5 | |
parent | 1e0daa7a7f2dd5c9deb84a1a996b09c8f72f609e (diff) | |
download | pkgsrc-7779ea5184db65b8cac364e0cfdc03151fa7bc46.tar.gz |
pari: fix work directory referance to gzip tool
-rw-r--r-- | math/pari/Makefile | 5 | ||||
-rw-r--r-- | math/pari/distinfo | 4 | ||||
-rw-r--r-- | math/pari/patches/patch-Configure | 16 |
3 files changed, 20 insertions, 5 deletions
diff --git a/math/pari/Makefile b/math/pari/Makefile index 1e088421a56..3841d8bd8cc 100644 --- a/math/pari/Makefile +++ b/math/pari/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.84 2022/06/28 11:34:44 wiz Exp $ +# $NetBSD: Makefile,v 1.85 2022/10/29 18:28:06 nros Exp $ DISTNAME= pari-2.7.6 PKGREVISION= 10 @@ -13,10 +13,11 @@ LICENSE= gnu-gpl-v2 MAKE_JOBS_SAFE= no USE_LIBTOOL= yes -USE_TOOLS+= gmake perl:run +USE_TOOLS+= gmake gzip:run perl:run USE_LANGUAGES+= c c++ HAS_CONFIGURE= yes CONFIGURE_ENV+= PERL5=${PERL5} +CONFIGURE_ENV+= gzip=${TOOLS_PATH.gzip} MAKE_ENV+= PERL_USE_UNSAFE_INC=1 CONFIGURE_SCRIPT= ${WRKSRC}/Configure diff --git a/math/pari/distinfo b/math/pari/distinfo index bfb70a2215a..215bc0f3f05 100644 --- a/math/pari/distinfo +++ b/math/pari/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.29 2021/10/26 10:55:57 nia Exp $ +$NetBSD: distinfo,v 1.30 2022/10/29 18:28:06 nros Exp $ BLAKE2s (pari-2.7.6.tar.gz) = 13518517347d8c82eb30790eb4400b5bf20e2df211fe9df8fd54f4bf5d67b2a2 SHA512 (pari-2.7.6.tar.gz) = 9cc623778068fe06878b2be0e4c60b75b585220e78446ed0c5e0197a3688e32cb901ce8a0e794d6dd310dab036784f73c0c9a608628ef89dd3e40fe3d9f7dc48 Size (pari-2.7.6.tar.gz) = 3160272 bytes -SHA1 (patch-Configure) = b2aa2e01b94b73cf9741d942c8bc71c93d6e7e31 +SHA1 (patch-Configure) = e9a50be80b2def703da1bcb10fe1b9854629e9b9 SHA1 (patch-config_DOC__Make.SH) = 088e1b0ff98a42ed50ef90fae87e3a7989239dea SHA1 (patch-config_Makefile.SH) = 7a0c80c195eb5e922d36ff75e94e4386c6db7f20 SHA1 (patch-config_TOP__Make.SH) = 82e39e82660fbe94b304e4691f0598b8f28a856a diff --git a/math/pari/patches/patch-Configure b/math/pari/patches/patch-Configure index 054c003472d..a8e35c7df54 100644 --- a/math/pari/patches/patch-Configure +++ b/math/pari/patches/patch-Configure @@ -1,7 +1,21 @@ -$NetBSD: patch-Configure,v 1.2 2020/08/09 23:12:13 joerg Exp $ +$NetBSD: patch-Configure,v 1.3 2022/10/29 18:28:06 nros Exp $ + + * Don't refer to gzip and perl in the tools directory --- Configure.orig 2016-02-25 14:12:36.000000000 +0000 +++ Configure +@@ -39,9 +39,9 @@ echo "Configuring pari-$pari_release_ver + . ./get_PATH + # We might need the following : + echo Looking for some tools first ... +-_tools_list='gzip cc gcc ld perl zcat' ++_tools_list='cc gcc ld perl zcat' + pathspace=`echo $PATH | sed -e "s/$dir_sep/ /g" | sed -e 's,\\\\,/,g'` +- ++echo ..."gzip is $gzip" + for file in $_tools_list; do + x=`./locate $file '' $pathspace` + eval $file=$x @@ -53,6 +53,7 @@ for file in $_tools_list; do done if test -z "$zcat" -a -n "$gzip"; then zcat="$gzip -dc"; fi |