1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

. 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
This commit is contained in:
Greg Lewis 2009-09-11 06:25:41 +00:00
parent 8288f1843a
commit 0eb3866e6c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=241202
2 changed files with 8 additions and 0 deletions

View File

@ -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 "

View File

@ -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 "