From ccff9099bcc040b948d88c32959fa8204a9900f4 Mon Sep 17 00:00:00 2001 From: agc Date: Sat, 15 Dec 2001 20:25:34 +0000 Subject: 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. --- math/p5-Math-Pari/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'math/p5-Math-Pari') 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" -- cgit v1.2.3