summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2004-02-22 02:19:50 +0000
committerheinz <heinz@pkgsrc.org>2004-02-22 02:19:50 +0000
commit290a1893787bbf183e3c07149252c183df208cd9 (patch)
tree53a906ecb7e0e73fc5a0b2231b6acf221b6ccc4d
parentfa4494be578769fd2bb356c1f8ece27fcd2a8788 (diff)
downloadpkgsrc-290a1893787bbf183e3c07149252c183df208cd9.tar.gz
Changed patch for "Configure" in order to accept LDFLAGS from the pkgsrc
build environment. This made the package build with xpkgwedge. Bump revision to 2. HOMEPAGE and MASTERSITES have changed.
-rw-r--r--math/pari/Makefile10
-rw-r--r--math/pari/distinfo4
-rw-r--r--math/pari/patches/patch-aa36
3 files changed, 25 insertions, 25 deletions
diff --git a/math/pari/Makefile b/math/pari/Makefile
index cbc5716b772..69f43268f80 100644
--- a/math/pari/Makefile
+++ b/math/pari/Makefile
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile,v 1.19 2003/12/30 17:27:31 cjep Exp $
+# $NetBSD: Makefile,v 1.20 2004/02/22 02:19:50 heinz Exp $
DISTNAME= pari-2.1.5
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= math
-MASTER_SITES= ftp://www.gn-50uma.de/gn/gn-50uma.de/pari-2.1/ \
- http://www.gn-50uma.de/ftp/pari-2.1/
+MASTER_SITES= http://pari.math.u-bordeaux.fr/download/ \
+ ftp://www.gn-50uma.de/gn/gn-50uma.de/pari-2.1/
MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.parigp-home.de/
+HOMEPAGE= http://pari.math.u-bordeaux.fr/
COMMENT= Software package for computer-aided number theory
BUILD_DEPENDS+= teTeX-[0-9]*:../../print/teTeX
diff --git a/math/pari/distinfo b/math/pari/distinfo
index 430521bb7c8..fb61a66c803 100644
--- a/math/pari/distinfo
+++ b/math/pari/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.9 2003/07/07 21:57:50 jtb Exp $
+$NetBSD: distinfo,v 1.10 2004/02/22 02:19:50 heinz Exp $
SHA1 (pari-2.1.5.tar.gz) = fd9a969d2f6afbfd1ebf3293fb90df23f602a7fb
Size (pari-2.1.5.tar.gz) = 1540679 bytes
-SHA1 (patch-aa) = acfeea76059cb4f22e315f0095d032dd9ff2bbf7
+SHA1 (patch-aa) = effffa3f2b1f111ae3718e13f521ff01d91b69dd
SHA1 (patch-ab) = 60b0ba8f17aa8c07a1e57f61c6e0fa9e19892b57
SHA1 (patch-ac) = 84af235f319ae108aadeedea5a25e005540160ac
SHA1 (patch-ad) = 82c0532ba6bc23b1c91865591c2bdfbee144bcf9
diff --git a/math/pari/patches/patch-aa b/math/pari/patches/patch-aa
index b46575e4db2..ebefca2f031 100644
--- a/math/pari/patches/patch-aa
+++ b/math/pari/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.8 2003/07/07 21:57:50 jtb Exp $
+$NetBSD: patch-aa,v 1.9 2004/02/22 02:19:50 heinz Exp $
---- Configure.orig
+--- Configure.orig Thu Apr 3 21:11:02 2003
+++ Configure
-@@ -187,35 +187,7 @@
+@@ -187,35 +187,7 @@ if test -z "$OS2_SHELL"; then dir_sep=':
pth="\
/bin\
/usr/bin\
@@ -39,7 +39,7 @@ $NetBSD: patch-aa,v 1.8 2003/07/07 21:57:50 jtb Exp $
"
# /usr/openwin/bin added for xmkmf
-@@ -290,7 +262,7 @@
+@@ -290,7 +262,7 @@ if test "$fastread" != yes; then
==========================================================================
I know of the following Operating Systems
EOM
@@ -48,7 +48,7 @@ $NetBSD: patch-aa,v 1.8 2003/07/07 21:57:50 jtb Exp $
. ./display
echo $n ..."Any of these apply ? $c"
dflt=$osname; . ./myread
-@@ -302,20 +274,26 @@
+@@ -302,20 +274,26 @@ fi
# The asm file used (if any)
#
case "$arch" in
@@ -78,7 +78,7 @@ $NetBSD: patch-aa,v 1.8 2003/07/07 21:57:50 jtb Exp $
fx2800) asmarch=none; pretty="Alliant FX/2800" ;;
none) asmarch=none; pretty="unknown" ;;
*) asmarch=none; pretty=$arch
-@@ -329,6 +307,9 @@
+@@ -329,6 +307,9 @@ case "$osname" in
nextstep|cygwin*|linux|freebsd|os2)
pretty="$pretty running $osname";
if test "$arch" = m68k; then asmarch=none; fi ;;
@@ -88,7 +88,7 @@ $NetBSD: patch-aa,v 1.8 2003/07/07 21:57:50 jtb Exp $
esac
if test "$kernel" = no; then
-@@ -351,7 +332,7 @@
+@@ -351,7 +332,7 @@ EOM
fi
fi
case "$asmarch" in
@@ -97,7 +97,7 @@ $NetBSD: patch-aa,v 1.8 2003/07/07 21:57:50 jtb Exp $
sparcv7) prettyk=SparcV7;;
sparcv8_super) prettyk=SuperSparc;;
sparcv8_micro) prettyk=MicroSparc;;
-@@ -375,7 +356,7 @@
+@@ -375,7 +356,7 @@ echo "Building for architecture: $pretty
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 +106,7 @@ $NetBSD: patch-aa,v 1.8 2003/07/07 21:57:50 jtb Exp $
esac
####################### CONFIGURE - LIBRARIES ###############################
-@@ -418,20 +399,8 @@
+@@ -418,20 +399,8 @@ if test "$optimization" != profiling; th
fi;;
os2) libpth=`echo $LIBRARY_PATH | sed 's/;/ /g' | sed 's,\\\\,/,g'`;;
*) libpth="\
@@ -128,7 +128,7 @@ $NetBSD: patch-aa,v 1.8 2003/07/07 21:57:50 jtb Exp $
.\
";;
esac
-@@ -518,17 +487,9 @@
+@@ -518,17 +487,9 @@ if test "$optimization" != profiling; th
# Readline -- TermCap
lib=$rl_fullname; sym=tgetent; . ./locatesymbol
if test -n "$try"; then # tgetent needed
@@ -146,7 +146,7 @@ $NetBSD: patch-aa,v 1.8 2003/07/07 21:57:50 jtb Exp $
# Readline -- Allocation
lib=$rl_fullname; sym=alloca; . ./locatesymbol
if test -n "$try"; then # alloca needed
-@@ -546,24 +507,15 @@
+@@ -546,24 +507,15 @@ if test "$optimization" != profiling; th
$cygtop/H-${arch}-cygwin32/${arch}-cygwin32/include\
";;
*) incpth="\
@@ -174,7 +174,7 @@ $NetBSD: patch-aa,v 1.8 2003/07/07 21:57:50 jtb Exp $
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 @@
+@@ -601,7 +553,7 @@ if test "$optimization" != profiling; th
# in case headers are not installed correctly
RLINCLUDE="-I$rl_include -DREADLINE_LIBRARY"
fi
@@ -183,7 +183,7 @@ $NetBSD: patch-aa,v 1.8 2003/07/07 21:57:50 jtb Exp $
if test -n "$rl_ncurses"; then
echo ..."Library ncurses needed by readline"
RLLIBS="$RLLIBS -lncurses"
-@@ -662,33 +614,7 @@
+@@ -662,33 +614,7 @@ EOT
# X11 -- Headers
if test ! -f $Xincroot/X11/Xos.h; then
x11pth="\
@@ -218,7 +218,7 @@ $NetBSD: patch-aa,v 1.8 2003/07/07 21:57:50 jtb Exp $
";
pth=`echo $x11pth | s,/lib,/include,g`
x=`./locate X11/Xos.h '' $pth`
-@@ -877,7 +803,7 @@
+@@ -877,7 +803,7 @@ else
esac
PRFFLAGS="$PRFFLAGS $OPTFLAGS"
fi
@@ -227,15 +227,15 @@ $NetBSD: patch-aa,v 1.8 2003/07/07 21:57:50 jtb Exp $
case "$osname" in
nextstep) cflags="-traditional-cpp $cflags";;
-@@ -962,6 +888,7 @@
+@@ -962,6 +888,7 @@ case "$osname-$arch" in
linux-*|cygwin*)
LD=$CC; LDFLAGS="$cflags -Xlinker -export-dynamic"
runpathprefix='-Xlinker -rpath -Xlinker ';;
-+ netbsd*) LD=$CC; LDFLAGS="-Wl,-E";;
++ netbsd*) LD=$CC; LDFLAGS="$LDFLAGS -Wl,-E";;
osf1-alpha)
LD=$ld; LIBS="$LIBS -lots -lc"; runpathprefix='-rpath '
LDFLAGS='-std0 -call_shared /usr/lib/cmplrs/cc/crt0.o'
-@@ -1207,8 +1134,8 @@
+@@ -1207,8 +1134,8 @@ if test -z "$share_prefix"; then
dfltman=$prefix/man/man1
dfltall=$prefix/lib/pari
else
@@ -246,7 +246,7 @@ $NetBSD: patch-aa,v 1.8 2003/07/07 21:57:50 jtb Exp $
fi
echo $n ..."\"gp\" executable ? $c"
-@@ -1289,6 +1216,7 @@
+@@ -1289,6 +1216,7 @@ fi
case "$osname" in
*cygwin*) LDDYN="-L$libdir -lpari_dll" ; runpath="$libdir" ;
DYNLIBS=-lpari_dll ; DYNFLAGS=-Dlibpari_USE_DLL ;;