summaryrefslogtreecommitdiff
path: root/math/p5-Math-Pari
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2001-12-15 20:25:34 +0000
committeragc <agc@pkgsrc.org>2001-12-15 20:25:34 +0000
commitccff9099bcc040b948d88c32959fa8204a9900f4 (patch)
tree8f67a7596dd99f5fb7729eb89ce6b6a3af3c8f95 /math/p5-Math-Pari
parent36ce7249f893aba53d41fe7e3db33c37e3ba143a (diff)
downloadpkgsrc-ccff9099bcc040b948d88c32959fa8204a9900f4.tar.gz
Modify all references to PKGSRCDIR to _PKGSRCDIR, except in the external
references of the pkglint package. _PKGSRCDIR is an internal definition in bsd.pkg.mk, and a few packages which would like to refer to other packages in the build tree. It should not be set by users, but neither should it stop a user from building a package if it is defined, so make it obvious that this is the case.
Diffstat (limited to 'math/p5-Math-Pari')
-rw-r--r--math/p5-Math-Pari/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/math/p5-Math-Pari/Makefile b/math/p5-Math-Pari/Makefile
index d06504ddefe..9cdf0fe2478 100644
--- a/math/p5-Math-Pari/Makefile
+++ b/math/p5-Math-Pari/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2001/10/18 15:20:28 veego Exp $
+# $NetBSD: Makefile,v 1.5 2001/12/15 20:25:37 agc Exp $
#
DISTNAME= Math-Pari-2.001804
@@ -20,16 +20,16 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Math/Pari/.packlist
# XXX: could be improved...
post-extract:
- if [ ! -d ${PKGSRCDIR}/math/pari/${WRKDIR_BASENAME} ]; then \
- cd ${PKGSRCDIR}/math/pari && ${MAKE}; \
+ if [ ! -d ${_PKGSRCDIR}/math/pari/${WRKDIR_BASENAME} ]; then \
+ cd ${_PKGSRCDIR}/math/pari && ${MAKE}; \
fi
${RM} -f ${WRKSRC}/pari-*
- ${LN} -sf ${PKGSRCDIR}/math/pari/${WRKDIR_BASENAME}/pari-* ${WRKSRC}/
+ ${LN} -sf ${_PKGSRCDIR}/math/pari/${WRKDIR_BASENAME}/pari-* ${WRKSRC}/
do-configure:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
pre-clean:
- cd ${PKGSRCDIR}/math/pari && ${MAKE} clean
+ cd ${_PKGSRCDIR}/math/pari && ${MAKE} clean
.include "../../mk/bsd.pkg.mk"