diff options
author | jlam <jlam@pkgsrc.org> | 2007-07-31 20:02:48 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2007-07-31 20:02:48 +0000 |
commit | 7cb9dfde176e9488d3d6ec749556c670016018a7 (patch) | |
tree | 19b39d65747d7eb93ece1af2e004e82d00c376cb /mk/emulator | |
parent | 5d1fa2066ae1c8d542230d4fa8c847c1d91cd1d5 (diff) | |
download | pkgsrc-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.mk | 10 |
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} |