From 17c3aafac1aa4cacaba3e9998eacf16787dfefb4 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. --- security/audit-packages/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'security/audit-packages') diff --git a/security/audit-packages/Makefile b/security/audit-packages/Makefile index b5f35c580e5..c4a629b1ff4 100644 --- a/security/audit-packages/Makefile +++ b/security/audit-packages/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.49 2004/06/06 08:28:54 agc Exp $ +# $NetBSD: Makefile,v 1.50 2004/10/07 02:01:38 jlam Exp $ DISTNAME= audit-packages-1.32 CATEGORIES= security pkgtools @@ -27,7 +27,7 @@ do-build: -e 's|@AWK@|${AWK}|g' \ -e 's|@FETCH_CMD@|${FETCH_CMD}|g' \ -e 's|@FETCH_CMD_SHORT@|${FETCH_CMD:T}|g' \ - -e 's|@PKGSRCDIR@|${_PKGSRCDIR}|g' \ + -e 's|@PKGSRCDIR@|${PKGSRCDIR}|g' \ -e 's|@PKG_TOOLS_BIN@|${PKG_TOOLS_BIN}|g' \ -e 's|@SH@|${SH}|g' \ -e 's|@DIGEST@|${DIGEST}|g' \ -- cgit v1.2.3