diff options
author | agc <agc> | 2001-12-15 20:25:34 +0000 |
---|---|---|
committer | agc <agc> | 2001-12-15 20:25:34 +0000 |
commit | 45bb129e42a3ade78d14cc3f98255237cd0658bc (patch) | |
tree | 8f67a7596dd99f5fb7729eb89ce6b6a3af3c8f95 /math/p5-Math-Pari | |
parent | 9244a06f7b748f5c4d1d25b5ab735e293d399276 (diff) | |
download | pkgsrc-45bb129e42a3ade78d14cc3f98255237cd0658bc.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/Makefile | 10 |
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" |