diff options
author | jlam <jlam@pkgsrc.org> | 2004-10-07 02:01:37 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-10-07 02:01:37 +0000 |
commit | 17c3aafac1aa4cacaba3e9998eacf16787dfefb4 (patch) | |
tree | 15912261de9f656cabfa82bfc7708e5e4ee1ae67 /math/p5-Math-Pari/Makefile | |
parent | d2eb44c14d837a993265620b7872506e7223a34f (diff) | |
download | pkgsrc-17c3aafac1aa4cacaba3e9998eacf16787dfefb4.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/p5-Math-Pari/Makefile')
-rw-r--r-- | math/p5-Math-Pari/Makefile | 10 |
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" |