summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-11-30 00:55:17 +0000
committerwiz <wiz@pkgsrc.org>2001-11-30 00:55:17 +0000
commit9bc22f1e48972415d2e1fb8264f00cbc9dd87fe9 (patch)
treea4828026ad4f0a2d3de6b985c6c5853b95cdf881 /math
parentae741f1ba05f47cd1b4453929966bfbc8abbf92c (diff)
downloadpkgsrc-9bc22f1e48972415d2e1fb8264f00cbc9dd87fe9.tar.gz
Buildlinkify.
Diffstat (limited to 'math')
-rw-r--r--math/pari/Makefile17
-rw-r--r--math/pari/distinfo3
-rw-r--r--math/pari/patches/patch-aa10
3 files changed, 15 insertions, 15 deletions
diff --git a/math/pari/Makefile b/math/pari/Makefile
index 852784b1a9d..e0a2aca3a46 100644
--- a/math/pari/Makefile
+++ b/math/pari/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2001/06/11 22:46:14 jtb Exp $
+# $NetBSD: Makefile,v 1.9 2001/11/30 01:18:12 wiz Exp $
DISTNAME= pari-2.1.1
CATEGORIES= math
@@ -9,25 +9,26 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.parigp-home.de
COMMENT= software package for computer-aided number theory
-DEPENDS+= readline>=4.0:../../devel/readline
BUILD_DEPENDS+= teTeX-[0-9]*:../../print/teTeX
BUILD_DEPENDS+= emacs-[0-9]*:../../editors/emacs
USE_PERL5= yes
-USE_X11= yes
-
-USE_CURSES= yes
-REPLACE_NCURSES= ${WRKSRC}/Configure
-
+USE_BUILDLINK_ONLY= yes
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ${WRKSRC}/Configure
+# rl_save_prompt
+USE_GNU_READLINE= yes
+
CONFIGURE_ARGS+= --prefix=${PREFIX} --share-prefix=${PREFIX}/share
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE}
-CONFIGURE_ENV+= X11BASE=${X11BASE}
+CONFIGURE_ENV+= BUILDLINK_DIR=${BUILDLINK_DIR}
CONFIGURE_ARGS+= --graphic=X11
+.include "../../devel/ncurses/buildlink.mk"
+.include "../../devel/readline/buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/math/pari/distinfo b/math/pari/distinfo
index 7962eadd304..957421ab40c 100644
--- a/math/pari/distinfo
+++ b/math/pari/distinfo
@@ -1,8 +1,7 @@
-SHA1 (patch-aa) = 9e8fa39a708332148bd658d4d04ac687044e96b4
SHA1 (pari-2.1.1.tar.gz) = 358e90e2caf1afbd4440e3a43af827feec019b8d
Size (pari-2.1.1.tar.gz) = 1530823 bytes
-SHA1 (patch-aa) = 9e8fa39a708332148bd658d4d04ac687044e96b4
+SHA1 (patch-aa) = 005a43e2997ba5ece391f9edb97ac1cfbb2cf805
SHA1 (patch-ab) = 97951552f9b9836d0375fd41c7abd18a5ce90238
SHA1 (patch-ac) = 84af235f319ae108aadeedea5a25e005540160ac
SHA1 (patch-ad) = 82c0532ba6bc23b1c91865591c2bdfbee144bcf9
diff --git a/math/pari/patches/patch-aa b/math/pari/patches/patch-aa
index 2a56ebf21c0..2d553466135 100644
--- a/math/pari/patches/patch-aa
+++ b/math/pari/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2001/05/19 17:31:05 jtb Exp $
+$NetBSD: patch-aa,v 1.5 2001/11/30 01:18:13 wiz Exp $
--- Configure.orig Fri Apr 27 13:51:44 2001
+++ Configure
@@ -36,7 +36,7 @@ $NetBSD: patch-aa,v 1.4 2001/05/19 17:31:05 jtb Exp $
- /usr/libexec\
- /usr/openwin/bin\
- /usr/local/bin\
-+ $LOCALBASE/lib\
++ $BUILDLINK_DIR/lib\
"
# /usr/openwin/bin added for xmkmf
@@ -85,7 +85,7 @@ $NetBSD: patch-aa,v 1.4 2001/05/19 17:31:05 jtb Exp $
- /usr/ccs/lib\
- /usc/ucblib\
- /usr/shlib\
-+ $LOCALBASE/lib\
++ $BUILDLINK_DIR/lib\
.\
";;
esac
@@ -104,7 +104,7 @@ $NetBSD: patch-aa,v 1.4 2001/05/19 17:31:05 jtb Exp $
- /opt/include\
- /opt/local/include\
- /opt/gnu/include\
-+ $LOCALBASE/include\
++ $BUILDLINK_DIR/include\
";;
esac
pth="$readline_add $incpth"
@@ -153,7 +153,7 @@ $NetBSD: patch-aa,v 1.4 2001/05/19 17:31:05 jtb Exp $
- /usr/athena/lib\
- /usr/local/x11r5/lib\
- /usr/lpp/Xamples/lib\
-+ $X11BASE/lib\
++ $BUILDLINK_DIR/lib\
";
pth=`echo $x11pth | s,/lib,/include,g`
x=`./locate X11/Xos.h '' $pth`