pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/emulator Automatically add EMUL_{PLATFORM,OPSYS,ARC...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a01d24b5a3d5
branches: trunk
changeset: 531499:a01d24b5a3d5
user: jlam <jlam%pkgsrc.org@localhost>
date: Tue Jul 31 20:02:48 2007 +0000
description:
Automatically add EMUL_{PLATFORM,OPSYS,ARCH} to FILES_SUBST and
PLIST_SUBST to make life easier for package maintainers.
diffstat:
mk/emulator/emulator.mk | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r aab520576a18 -r a01d24b5a3d5 mk/emulator/emulator.mk
--- a/mk/emulator/emulator.mk Tue Jul 31 19:51:01 2007 +0000
+++ b/mk/emulator/emulator.mk Tue Jul 31 20:02:48 2007 +0000
@@ -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 @@
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}
Home |
Main Index |
Thread Index |
Old Index