summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2009-09-11 06:25:41 +0000
committerGreg Lewis <glewis@FreeBSD.org>2009-09-11 06:25:41 +0000
commit0eb3866e6c0b2e37d70a950242e2b943d66cdae8 (patch)
treef9f4c46a3d127b1326250514f61e62bf4b9d34b5 /java
parentPulseaudio no longer comes with a pkg-message. (diff)
. Rely on compat7x on 8.x or higher. This is in the same spirit as the PR
but a different way of going about it. PR: 138638
Notes
Notes: svn path=/head/; revision=241202
Diffstat (limited to 'java')
-rw-r--r--java/diablo-jdk16/Makefile4
-rw-r--r--java/diablo-jre16/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/java/diablo-jdk16/Makefile b/java/diablo-jdk16/Makefile
index 3f8d97868d7e..7892151336d3 100644
--- a/java/diablo-jdk16/Makefile
+++ b/java/diablo-jdk16/Makefile
@@ -50,6 +50,10 @@ INSTALL_DIR= ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION}
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 800105
+LIB_DEPENDS= z.4:${PORTSDIR}/misc/compat7x
+.endif
+
.if ${OSVERSION} >= 700000
JDK_OSREL= freebsd7
PLIST_SUB+= RELEASENOTE="@comment "
diff --git a/java/diablo-jre16/Makefile b/java/diablo-jre16/Makefile
index e83bda421f02..870df74fc0df 100644
--- a/java/diablo-jre16/Makefile
+++ b/java/diablo-jre16/Makefile
@@ -51,6 +51,10 @@ INSTALL_DIR= ${PREFIX}/${PKGNAMEPREFIX}jre${JRE_VERSION}
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 800105
+LIB_DEPENDS= z.4:${PORTSDIR}/misc/compat7x
+.endif
+
.if ${OSVERSION} >= 700000
JRE_OSREL= freebsd7
PLIST_SUB+= RELEASENOTE="@comment "