summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-10-07 02:01:37 +0000
committerjlam <jlam@pkgsrc.org>2004-10-07 02:01:37 +0000
commit17c3aafac1aa4cacaba3e9998eacf16787dfefb4 (patch)
tree15912261de9f656cabfa82bfc7708e5e4ee1ae67 /cross
parentd2eb44c14d837a993265620b7872506e7223a34f (diff)
downloadpkgsrc-17c3aafac1aa4cacaba3e9998eacf16787dfefb4.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}