summaryrefslogtreecommitdiff
path: root/lang/sun-jre7/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/sun-jre7/Makefile')
-rw-r--r--lang/sun-jre7/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/sun-jre7/Makefile b/lang/sun-jre7/Makefile
index c99def82d08..89ab77558c4 100644
--- a/lang/sun-jre7/Makefile
+++ b/lang/sun-jre7/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2013/07/05 02:42:02 obache Exp $
+# $NetBSD: Makefile,v 1.17 2013/07/06 01:13:48 obache Exp $
# Note: Regen distinfo with PKG_OPTIONS.sun-jre7+=sun-jre-jce
# Note: Update DOWNLOAD_NAME when you update the JRE version
@@ -63,7 +63,7 @@ FETCH_MESSAGE+= "As sun-jre-jce is enabled UnlimitedJCEPolicyJDK7.zip is also ne
# Some of the binaries require libX11, so ensure that requirement is
# satisfied when the package is installed on the native OS.
#
-.if defined(EMUL_IS_NATIVE)
+.if defined(EMUL_IS_NATIVE) && ${OPSYS} != "SunOS"
. if ${X11_TYPE} == "native"
X11_LIBDIR= ${X11BASE}/lib${LIBABISUFFIX}
. if ${_OPSYS_SHLIB_TYPE} == "dylib"