pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/pari pari: fix work directory referance to gzip tool



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e32ec5c56e64
branches:  trunk
changeset: 387414:e32ec5c56e64
user:      nros <nros%pkgsrc.org@localhost>
date:      Sat Oct 29 18:28:06 2022 +0000

description:
pari: fix work directory referance to gzip tool

diffstat:

 math/pari/Makefile                |   5 +++--
 math/pari/distinfo                |   4 ++--
 math/pari/patches/patch-Configure |  16 +++++++++++++++-
 3 files changed, 20 insertions(+), 5 deletions(-)

diffs (63 lines):

diff -r f18fba047d6f -r e32ec5c56e64 math/pari/Makefile
--- a/math/pari/Makefile        Sat Oct 29 16:34:20 2022 +0000
+++ b/math/pari/Makefile        Sat Oct 29 18:28:06 2022 +0000
@@ -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 @@
 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 -r f18fba047d6f -r e32ec5c56e64 math/pari/distinfo
--- a/math/pari/distinfo        Sat Oct 29 16:34:20 2022 +0000
+++ b/math/pari/distinfo        Sat Oct 29 18:28:06 2022 +0000
@@ -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 -r f18fba047d6f -r e32ec5c56e64 math/pari/patches/patch-Configure
--- a/math/pari/patches/patch-Configure Sat Oct 29 16:34:20 2022 +0000
+++ b/math/pari/patches/patch-Configure Sat Oct 29 18:28:06 2022 +0000
@@ -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



Home | Main Index | Thread Index | Old Index