aboutsummaryrefslogtreecommitdiff
path: root/java/openjdk6
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2011-03-28 21:08:52 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2011-03-28 21:08:52 +0000
commit6fbc8496ce8df2b726634ee7e98d161222b6fb0d (patch)
tree8e8b878b61af6eaae733d6e7a49b0e6910fc2407 /java/openjdk6
parent42187a24f9c49ac126bb06f15eb10b641a35a9f2 (diff)
downloadports-6fbc8496ce8df2b726634ee7e98d161222b6fb0d.tar.gz
ports-6fbc8496ce8df2b726634ee7e98d161222b6fb0d.zip
Notes
Diffstat (limited to 'java/openjdk6')
-rw-r--r--java/openjdk6/files/Makefile.plugin8
1 files changed, 6 insertions, 2 deletions
diff --git a/java/openjdk6/files/Makefile.plugin b/java/openjdk6/files/Makefile.plugin
index 900845191796..d9b6ce7e17ea 100644
--- a/java/openjdk6/files/Makefile.plugin
+++ b/java/openjdk6/files/Makefile.plugin
@@ -48,8 +48,12 @@ CFLAGS+= -DJDK_UPDATE_VERSION="\"${JDK_UPDATE_VERSION}\"" \
-DPLUGIN_NAME="\"${PLUGIN_NAME}\"" \
-DPLUGIN_VERSION="\"${PLUGIN_VERSION}\"" \
-DPACKAGE_URL="\"${PACKAGE_URL}\"" \
- -DMOZILLA_VERSION_COLLAPSED="${MOZILLA_VERSION2}" \
- ${PLUGIN_CFLAGS}
+ -DMOZILLA_VERSION_COLLAPSED="${MOZILLA_VERSION2}"
+.if ${MOZILLA_VERSION2} >= 1090200
+CFLAGS+= ${PLUGIN_CFLAGS:S,/libxul/stable,/libxul,}
+.else
+CFLAGS+= ${PLUGIN_CFLAGS:S,/libxul/stable,/libxul/unstable,}
+.endif
LDFLAGS+= ${PLUGIN_LIBS}
.include <bsd.lib.mk>