summaryrefslogtreecommitdiff
path: root/lang/sun-jre6
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-03-01 09:54:12 +0000
committerjperkin <jperkin@pkgsrc.org>2013-03-01 09:54:12 +0000
commit609d28f7b41664781ffdcbca13d2d0aba1de7373 (patch)
tree58ad617ce5a24ccda4785b5d38dcaaa92cda85bc /lang/sun-jre6
parenta3ea069218822b31ec053885f7418036919c4b74 (diff)
downloadpkgsrc-609d28f7b41664781ffdcbca13d2d0aba1de7373.tar.gz
Ensure EMUL_PLATFORMS is defined before including bsd.prefs.mk
Diffstat (limited to 'lang/sun-jre6')
-rw-r--r--lang/sun-jre6/Makefile.common6
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/sun-jre6/Makefile.common b/lang/sun-jre6/Makefile.common
index f4179dd364b..38d6eb3089c 100644
--- a/lang/sun-jre6/Makefile.common
+++ b/lang/sun-jre6/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.19 2013/02/28 18:29:13 jperkin Exp $
+# $NetBSD: Makefile.common,v 1.20 2013/03/01 09:54:12 jperkin Exp $
# used by lang/sun-jre6/Makefile
# used by lang/sun-jdk6/Makefile
@@ -19,15 +19,17 @@ NO_BIN_ON_FTP= ${RESTRICTED}
USE_TOOLS+= pax
+EMUL_PLATFORMS= linux-i386 linux-x86_64
+
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
DIST_OS= solaris
EMUL_ARCH= ${MACHINE_ARCH} # XXX: re-use EMUL_ARCH as it is simpler
+EMUL_PLATFORMS= # empty, uses native binaries
EXTRACT_SUFX= .sh
.else
DIST_OS= linux
-EMUL_PLATFORMS= linux-i386 linux-x86_64
EMUL_MODULES.linux= compat locale x11
.endif