summaryrefslogtreecommitdiff
path: root/math/p5-Math-Pari
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-10-16 00:44:25 +0000
committerhubertf <hubertf@pkgsrc.org>2001-10-16 00:44:25 +0000
commit04ce68172d7451240da810cbd75cc83d12465813 (patch)
treef2a58f4076a22285646ba44ff79676e2cff5bb00 /math/p5-Math-Pari
parentb4404f763ad1a41fdd239da1d17605c4167878d9 (diff)
downloadpkgsrc-04ce68172d7451240da810cbd75cc83d12465813.tar.gz
* use PKGSRCDIR to get to pkgsrc/math/pari if you want to build something!
when WRKOBJDIR is set, BUILD_ROOT points somewhere into the obj dir * clean up litter in pre-clean XXX is there a good reason we don't support a post-clean?
Diffstat (limited to 'math/p5-Math-Pari')
-rw-r--r--math/p5-Math-Pari/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/math/p5-Math-Pari/Makefile b/math/p5-Math-Pari/Makefile
index d8292e1d634..ae323a91744 100644
--- a/math/p5-Math-Pari/Makefile
+++ b/math/p5-Math-Pari/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2001/10/03 02:41:41 hubertf Exp $
+# $NetBSD: Makefile,v 1.3 2001/10/16 00:44:25 hubertf Exp $
#
DISTNAME= Math-Pari-2.001804
@@ -19,13 +19,16 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Math/Pari/.packlist
# XXX: could be improved...
post-extract:
- if [ ! -d ${BUILD_ROOT}/math/pari/${WRKDIR_BASENAME} ]; then \
- cd ${BUILD_ROOT}/math/pari && ${MAKE}; \
+ if [ ! -d ${PKGSRCDIR}/math/pari/${WRKDIR_BASENAME} ]; then \
+ cd ${PKGSRCDIR}/math/pari && ${MAKE}; \
fi
${RM} -f ${WRKSRC}/pari-*
- ${LN} -sf ${BUILD_ROOT}/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
+
.include "../../mk/bsd.pkg.mk"