diff options
author | jlam <jlam@pkgsrc.org> | 2004-10-07 02:01:37 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-10-07 02:01:37 +0000 |
commit | c83f47a4c9ec7ce3bb535777b59820a9a7479cb8 (patch) | |
tree | 15912261de9f656cabfa82bfc7708e5e4ee1ae67 /cross | |
parent | a57c944c01a8d7eaa7989f88b72fa9b36a077982 (diff) | |
download | pkgsrc-c83f47a4c9ec7ce3bb535777b59820a9a7479cb8.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.mk | 4 |
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} |