From c83f47a4c9ec7ce3bb535777b59820a9a7479cb8 Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 7 Oct 2004 02:01:37 +0000 Subject: * 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. --- cross/COMMON/cross.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cross') 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} -- cgit v1.2.3