summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorjlam <jlam>2004-10-07 02:01:37 +0000
committerjlam <jlam>2004-10-07 02:01:37 +0000
commita382f811f00cc359fc6c3d7c7386417af7b05fd1 (patch)
tree15912261de9f656cabfa82bfc7708e5e4ee1ae67 /math
parent9828610aa3d1827c2d4d36482a824f63d62fd0b0 (diff)
downloadpkgsrc-a382f811f00cc359fc6c3d7c7386417af7b05fd1.tar.gz
* Make PKGSRC_TOPDIR a private variable by renaming it to _PKGSRC_TOPDIR,
as it's only used internally by bsd.prefs.mk. * Make _PKGSRCDIR a public variable by renaming it to PKGSRCDIR. Also, generate its value from ${_PKGSRC_TOPDIR} so it's less fragile than the old method of stripping off the last two components of ${.CURDIR}. PKGSRCDIR may now be used after bsd.prefs.mk is defined. * Change all references to _PKGSRCDIR to PKGSRCDIR.
Diffstat (limited to 'math')
-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 492f1ef37c1..e993c96ac0f 100644
--- a/math/p5-Math-Pari/Makefile
+++ b/math/p5-Math-Pari/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2004/04/27 21:26:08 snj Exp $
+# $NetBSD: Makefile,v 1.14 2004/10/07 02:01:38 jlam Exp $
#
DISTNAME= Math-Pari-2.010501
@@ -23,14 +23,14 @@ 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} configure; \
+ if [ ! -d ${PKGSRCDIR}/math/pari/${WRKDIR_BASENAME} ]; then \
+ cd ${PKGSRCDIR}/math/pari && ${MAKE} configure; \
fi
${RM} -f ${WRKSRC}/pari-*
- ${LN} -sf ${_PKGSRCDIR}/math/pari/${WRKDIR_BASENAME}/pari-* ${WRKSRC}/
+ ${LN} -sf ${PKGSRCDIR}/math/pari/${WRKDIR_BASENAME}/pari-* ${WRKSRC}/
pre-clean:
- cd ${_PKGSRCDIR}/math/pari && ${MAKE} clean
+ cd ${PKGSRCDIR}/math/pari && ${MAKE} clean
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"