summaryrefslogtreecommitdiff
path: root/lang/tk-tclX/Makefile
diff options
context:
space:
mode:
authoragc <agc>2001-12-15 20:25:34 +0000
committeragc <agc>2001-12-15 20:25:34 +0000
commit339d37ae0d69ce4e0961e667048241f100dd4126 (patch)
tree8f67a7596dd99f5fb7729eb89ce6b6a3af3c8f95 /lang/tk-tclX/Makefile
parent38ff8cd8ab867cfe52ea1ec127f75f916623c2d2 (diff)
downloadpkgsrc-339d37ae0d69ce4e0961e667048241f100dd4126.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 'lang/tk-tclX/Makefile')
-rw-r--r--lang/tk-tclX/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/lang/tk-tclX/Makefile b/lang/tk-tclX/Makefile
index e9dbd60a8ca..d1cc3f103e4 100644
--- a/lang/tk-tclX/Makefile
+++ b/lang/tk-tclX/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/10/17 23:23:15 hubertf Exp $
+# $NetBSD: Makefile,v 1.8 2001/12/15 20:25:37 agc Exp $
#
DISTNAME= tclX8.2.0
@@ -21,8 +21,8 @@ CONFIGURE_ARGS+= --enable-shared --with-tcl=${PREFIX}/lib \
--with-tk=${PREFIX}/lib
CONFIGURE_ENV+= \
- PKGSRC_TCL_SRC_DIR="${PKGSRCDIR}/lang/tcl/${WRKDIR:T}/tcl8.3.2" \
- PKGSRC_TK_SRC_DIR="${PKGSRCDIR}/x11/tk/${WRKDIR:T}/tk8.3.2"
+ PKGSRC_TCL_SRC_DIR="${_PKGSRCDIR}/lang/tcl/${WRKDIR:T}/tcl8.3.2" \
+ PKGSRC_TK_SRC_DIR="${_PKGSRCDIR}/x11/tk/${WRKDIR:T}/tk8.3.2"
MAKE_ENV+= GTAR=${GTAR} CHOWN=${CHOWN} CHMOD=${CHMOD} \
SHAREMODE=${SHAREMODE} SHAREOWN=${SHAREOWN} \
@@ -35,10 +35,10 @@ PATCHDIR= ${.CURDIR}/../../lang/tcl-tclX/patches
post-extract:
${MV} ${WRKSRC}/../doc/Memory.n ${WRKSRC}/../doc/TclXMemory.n
- @if [ ! -e ${PKGSRCDIR}/lang/tcl/${WRKDIR:T}/tcl8.3.2 ]; then \
+ @if [ ! -e ${_PKGSRCDIR}/lang/tcl/${WRKDIR:T}/tcl8.3.2 ]; then \
cd ../../lang/tcl && ${MAKE} extract; \
fi
- @if [ ! -e ${PKGSRCDIR}/x11/tk/${WRKDIR:T}/tk8.3.2 ]; then \
+ @if [ ! -e ${_PKGSRCDIR}/x11/tk/${WRKDIR:T}/tk8.3.2 ]; then \
cd ../../x11/tk && ${MAKE} extract; \
fi