summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorjlam <jlam>2004-10-07 02:01:37 +0000
committerjlam <jlam>2004-10-07 02:01:37 +0000
commita382f811f00cc359fc6c3d7c7386417af7b05fd1 (patch)
tree15912261de9f656cabfa82bfc7708e5e4ee1ae67 /cross
parent9828610aa3d1827c2d4d36482a824f63d62fd0b0 (diff)
downloadpkgsrc-a382f811f00cc359fc6c3d7c7386417af7b05fd1.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 'cross')
-rw-r--r--cross/COMMON/cross.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/cross/COMMON/cross.mk b/cross/COMMON/cross.mk
index a4505daf5b6..83daecec9e2 100644
--- a/cross/COMMON/cross.mk
+++ b/cross/COMMON/cross.mk
@@ -1,4 +1,4 @@
-# $NetBSD: cross.mk,v 1.29 2004/07/09 20:48:15 kristerw Exp $
+# $NetBSD: cross.mk,v 1.30 2004/10/07 02:01:37 jlam Exp $
# Shared definitions for building a cross-compile environment.
@@ -12,7 +12,7 @@ PLIST_SRC= ${WRKDIR}/.PLIST_SRC
HOMEPAGE?= http://egcs.cygnus.com/
TARGET_DIR= ${PREFIX}/${TARGET_ARCH}
-COMMON_DIR= ${_PKGSRCDIR}/cross/COMMON
+COMMON_DIR= ${PKGSRCDIR}/cross/COMMON
PLIST_PRE?= ${PKGDIR}/PLIST
MESSAGE_SUBST+= CROSSBASE=${CROSSBASE}