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