summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-08-23 15:59:33 +0000
committerjlam <jlam@pkgsrc.org>2007-08-23 15:59:33 +0000
commit77153dd1fbb01ddeee3c0ccf99eae34e0b767662 (patch)
tree39d6f1c0868fafa02240c1916ce099f71a729e66 /emulators
parent6e1a6e3ba100792852e1e0a737e009d9f170ee3b (diff)
downloadpkgsrc-77153dd1fbb01ddeee3c0ccf99eae34e0b767662.tar.gz
Break out the inclusion of the operating-system-specific Makefile into
a separate emulator-opsys.mk file. The emulator-opsys.mk file defines EMUL_DISTRO and the various *EMUL*DIR* variables, as well as any opsys-specific variables. Include this file within compat_netbsd/Makefile.common so that the *EXEC_FMT variables (defined by the compat*/emulator.mk files) are defined. This fixes the build of compat* packages. XXX emulator-opsys.mk will go away in the near future as we do more XXX appropriate information hiding.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/compat_netbsd/Makefile.common4
1 files changed, 3 insertions, 1 deletions
diff --git a/emulators/compat_netbsd/Makefile.common b/emulators/compat_netbsd/Makefile.common
index 9ca372db860..b9e690a9b6f 100644
--- a/emulators/compat_netbsd/Makefile.common
+++ b/emulators/compat_netbsd/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.1 2007/08/21 22:49:25 jlam Exp $
+# $NetBSD: Makefile.common,v 1.2 2007/08/23 15:59:33 jlam Exp $
#
# Common infrastructure for NetBSD compat* packages.
#
@@ -43,6 +43,8 @@ BUILD_DIRS= # empty
MAKE_DIRS+= ${EMULDIR}
ELF_SYMLINKS_DATA= ${WRKDIR}/.symlinks-data
+.include "../../mk/emulator/emulator-opsys.mk"
+
#
# PLISTs are composed from the following bits, in order:
#