pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/pari Prevent paths to the build directories from ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/54280c9ccd9b
branches:  trunk
changeset: 496697:54280c9ccd9b
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Fri Jul 08 22:10:45 2005 +0000

description:
Prevent paths to the build directories from being included in the package.
Bump PKGREVISION.

diffstat:

 math/pari/Makefile         |   5 ++-
 math/pari/distinfo         |   4 +-
 math/pari/patches/patch-aa |  53 ++++++++++++++++++++++++++++++---------------
 3 files changed, 40 insertions(+), 22 deletions(-)

diffs (195 lines):

diff -r ef0d3bbc0eeb -r 54280c9ccd9b math/pari/Makefile
--- a/math/pari/Makefile        Fri Jul 08 21:28:15 2005 +0000
+++ b/math/pari/Makefile        Fri Jul 08 22:10:45 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.25 2005/06/01 18:03:03 jlam Exp $
+# $NetBSD: Makefile,v 1.26 2005/07/08 22:10:45 kristerw Exp $
 
 DISTNAME=              pari-2.1.5
-PKGREVISION=           4
+PKGREVISION=           5
 CATEGORIES=            math
 MASTER_SITES=          http://pari.math.u-bordeaux.fr/download/ \
                        ftp://www.gn-50uma.de/gn/gn-50uma.de/pari-2.1/
@@ -20,6 +20,7 @@
 CONFIGURE_ARGS+=       --prefix=${PREFIX} --share-prefix=${PREFIX}/share
 CONFIGURE_ARGS+=       --graphic=X11
 CONFIGURE_ENV+=                LOCALBASE=${LOCALBASE}
+CONFIGURE_ENV+=                PERL5=${PERL5}
 CONFIGURE_ENV+=                X11BASE=${X11BASE}
 
 TEST_TARGET=           test-compat bench
diff -r ef0d3bbc0eeb -r 54280c9ccd9b math/pari/distinfo
--- a/math/pari/distinfo        Fri Jul 08 21:28:15 2005 +0000
+++ b/math/pari/distinfo        Fri Jul 08 22:10:45 2005 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.11 2005/02/23 12:06:57 agc Exp $
+$NetBSD: distinfo,v 1.12 2005/07/08 22:10:45 kristerw Exp $
 
 SHA1 (pari-2.1.5.tar.gz) = fd9a969d2f6afbfd1ebf3293fb90df23f602a7fb
 RMD160 (pari-2.1.5.tar.gz) = 1ebd126e69cbb239304f67b420b16226ac335c59
 Size (pari-2.1.5.tar.gz) = 1540679 bytes
-SHA1 (patch-aa) = effffa3f2b1f111ae3718e13f521ff01d91b69dd
+SHA1 (patch-aa) = 6b8924fc70a0689a8a58a3fd940b725ba9549a52
 SHA1 (patch-ab) = 60b0ba8f17aa8c07a1e57f61c6e0fa9e19892b57
 SHA1 (patch-ac) = 84af235f319ae108aadeedea5a25e005540160ac
 SHA1 (patch-ad) = 82c0532ba6bc23b1c91865591c2bdfbee144bcf9
diff -r ef0d3bbc0eeb -r 54280c9ccd9b math/pari/patches/patch-aa
--- a/math/pari/patches/patch-aa        Fri Jul 08 21:28:15 2005 +0000
+++ b/math/pari/patches/patch-aa        Fri Jul 08 22:10:45 2005 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.9 2004/02/22 02:19:50 heinz Exp $
+$NetBSD: patch-aa,v 1.10 2005/07/08 22:10:45 kristerw Exp $
 
---- Configure.orig     Thu Apr  3 21:11:02 2003
-+++ Configure
-@@ -187,35 +187,7 @@ if test -z "$OS2_SHELL"; then dir_sep=':
+--- Configure.orig     2003-04-03 19:11:02.000000000 +0000
++++ Configure  2005-07-08 21:59:13.000000000 +0000
+@@ -187,35 +187,7 @@
  pth="\
    /bin\
    /usr/bin\
@@ -39,7 +39,24 @@
  "
  # /usr/openwin/bin added for xmkmf
  
-@@ -290,7 +262,7 @@ if test "$fastread" != yes; then
+@@ -246,7 +218,7 @@
+ #  We might need the following :
+ #
+ echo Looking for some tools first ...
+-list='ld zcat gzip ranlib perl emacs'
++list='ld zcat gzip ranlib emacs'
+ pathspace=`echo $PATH | sed -e "s/$dir_sep/ /g" | sed -e 's,\\\\,/,g'`
+ 
+ for file in $list; do
+@@ -259,6 +231,7 @@
+   esac
+ done
+ if test -z "$zcat" -a -n "$gzip"; then zcat="$gzip -dc"; fi
++perl="${PERL5}";
+ 
+ ####################### CONFIGURE - ARCHITECTURE ############################
+ #
+@@ -290,7 +263,7 @@
  ==========================================================================
  I know of the following Operating Systems
  EOM
@@ -48,7 +65,7 @@
    . ./display
    echo $n ..."Any of these apply ? $c"
    dflt=$osname; . ./myread
-@@ -302,20 +274,26 @@ fi
+@@ -302,20 +275,26 @@
  #   The asm file used (if any)
  #
  case "$arch" in
@@ -78,7 +95,7 @@
    fx2800)        asmarch=none;          pretty="Alliant FX/2800" ;;
    none)          asmarch=none;          pretty="unknown" ;;
    *)             asmarch=none;          pretty=$arch
-@@ -329,6 +307,9 @@ case "$osname" in
+@@ -329,6 +308,9 @@
    nextstep|cygwin*|linux|freebsd|os2)
         pretty="$pretty running $osname";
          if test "$arch" = m68k; then asmarch=none; fi ;;
@@ -88,7 +105,7 @@
  esac
  
  if test "$kernel" = no; then
-@@ -351,7 +332,7 @@ EOM
+@@ -351,7 +333,7 @@
    fi
  fi
  case "$asmarch" in
@@ -97,7 +114,7 @@
    sparcv7)       prettyk=SparcV7;;
    sparcv8_super) prettyk=SuperSparc;;
    sparcv8_micro) prettyk=MicroSparc;;
-@@ -375,7 +356,7 @@ echo "Building for architecture: $pretty
+@@ -375,7 +357,7 @@
  case "$osname-$arch" in
    os2-*)  ln_s=cp; make_sh=sh; exe_suff=.exe; extraflag="-Zexe" ;;
    cygwin*) ln_s="ln -s"; make_sh="/bin/sh"; exe_suff=.exe; extraflag="" ;;
@@ -106,7 +123,7 @@
  esac
  
  ####################### CONFIGURE - LIBRARIES ###############################
-@@ -418,20 +399,8 @@ if test "$optimization" != profiling; th
+@@ -418,20 +400,8 @@
        fi;;
        os2) libpth=`echo $LIBRARY_PATH | sed 's/;/ /g' | sed 's,\\\\,/,g'`;;
        *) libpth="\
@@ -128,7 +145,7 @@
        .\
       ";;
       esac
-@@ -518,17 +487,9 @@ if test "$optimization" != profiling; th
+@@ -518,17 +488,9 @@
  # Readline -- TermCap
      lib=$rl_fullname; sym=tgetent; . ./locatesymbol
      if test -n "$try"; then # tgetent needed
@@ -146,7 +163,7 @@
  # Readline -- Allocation
      lib=$rl_fullname; sym=alloca; . ./locatesymbol
      if test -n "$try"; then # alloca needed
-@@ -546,24 +507,15 @@ if test "$optimization" != profiling; th
+@@ -546,24 +508,15 @@
         $cygtop/H-${arch}-cygwin32/${arch}-cygwin32/include\
       ";;
        *) incpth="\
@@ -174,7 +191,7 @@
           if (grep CPPFunction $x > /dev/null 2>&1); then CPPF_defined=yes; fi
           if (grep rl_message  $x > /dev/null 2>&1); then rl_message=yes; fi
           if (grep rl_completion_matches $x > /dev/null 2>&1); then
-@@ -601,7 +553,7 @@ if test "$optimization" != profiling; th
+@@ -601,7 +554,7 @@
  # in case headers are not installed correctly
        RLINCLUDE="-I$rl_include -DREADLINE_LIBRARY"
      fi
@@ -183,7 +200,7 @@
      if test -n "$rl_ncurses"; then
        echo ..."Library ncurses needed by readline"
        RLLIBS="$RLLIBS -lncurses"
-@@ -662,33 +614,7 @@ EOT
+@@ -662,33 +615,7 @@
        # X11 -- Headers
        if test ! -f $Xincroot/X11/Xos.h; then
          x11pth="\
@@ -218,7 +235,7 @@
          ";
          pth=`echo $x11pth | s,/lib,/include,g`
          x=`./locate X11/Xos.h '' $pth`
-@@ -877,7 +803,7 @@ else
+@@ -877,7 +804,7 @@
    esac
    PRFFLAGS="$PRFFLAGS $OPTFLAGS"
  fi
@@ -227,7 +244,7 @@
  
  case "$osname" in
    nextstep)  cflags="-traditional-cpp $cflags";;
-@@ -962,6 +888,7 @@ case "$osname-$arch" in
+@@ -962,6 +889,7 @@
    linux-*|cygwin*)
        LD=$CC; LDFLAGS="$cflags -Xlinker -export-dynamic"
        runpathprefix='-Xlinker -rpath -Xlinker ';;
@@ -235,7 +252,7 @@
    osf1-alpha)
        LD=$ld; LIBS="$LIBS -lots -lc"; runpathprefix='-rpath '
        LDFLAGS='-std0 -call_shared /usr/lib/cmplrs/cc/crt0.o'
-@@ -1207,8 +1134,8 @@ if test -z "$share_prefix"; then
+@@ -1207,8 +1135,8 @@
    dfltman=$prefix/man/man1
    dfltall=$prefix/lib/pari
  else
@@ -246,7 +263,7 @@
  fi
  
  echo $n ..."\"gp\" executable ? $c"
-@@ -1289,6 +1216,7 @@ fi
+@@ -1289,6 +1217,7 @@
  case "$osname" in
    *cygwin*) LDDYN="-L$libdir -lpari_dll" ; runpath="$libdir" ;
            DYNLIBS=-lpari_dll ; DYNFLAGS=-Dlibpari_USE_DLL ;;



Home | Main Index | Thread Index | Old Index