summaryrefslogtreecommitdiff
path: root/mk/emulator
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-07-31 20:02:48 +0000
committerjlam <jlam@pkgsrc.org>2007-07-31 20:02:48 +0000
commit7cb9dfde176e9488d3d6ec749556c670016018a7 (patch)
tree19b39d65747d7eb93ece1af2e004e82d00c376cb /mk/emulator
parent5d1fa2066ae1c8d542230d4fa8c847c1d91cd1d5 (diff)
downloadpkgsrc-7cb9dfde176e9488d3d6ec749556c670016018a7.tar.gz
Automatically add EMUL_{PLATFORM,OPSYS,ARCH} to FILES_SUBST and
PLIST_SUBST to make life easier for package maintainers.
Diffstat (limited to 'mk/emulator')
-rw-r--r--mk/emulator/emulator.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/mk/emulator/emulator.mk b/mk/emulator/emulator.mk
index d58304a347d..acc4db44045 100644
--- a/mk/emulator/emulator.mk
+++ b/mk/emulator/emulator.mk
@@ -1,4 +1,4 @@
-# $NetBSD: emulator.mk,v 1.1 2007/07/29 05:19:42 jlam Exp $
+# $NetBSD: emulator.mk,v 1.2 2007/07/31 20:02:48 jlam Exp $
#
# This file is included by bsd.pkg.mk.
#
@@ -53,6 +53,14 @@ CHECK_PORTABILITY_SKIP= *
RUN_LDCONFIG?= ${_EMUL_RUN_LDCONFIG}
+FILES_SUBST+= EMUL_PLATFORM=${EMUL_PLATFORM:Q}
+FILES_SUBST+= EMUL_OPSYS=${EMUL_OPSYS:Q}
+FILES_SUBST+= EMUL_ARCH=${EMUL_ARCH:Q}
+
+PLIST_SUBST+= EMUL_PLATFORM=${EMUL_PLATFORM:Q}
+PLIST_SUBST+= EMUL_OPSYS=${EMUL_OPSYS:Q}
+PLIST_SUBST+= EMUL_ARCH=${EMUL_ARCH:Q}
+
FILES_SUBST+= EMULDIR=${EMULDIR:Q}
FILES_SUBST+= EMULSUBDIR=${EMULSUBDIR:Q}
FILES_SUBST+= OPSYS_EMULDIR=${OPSYS_EMULDIR:Q}