summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorNate Williams <nate@FreeBSD.org>2001-03-06 15:41:02 +0000
committerNate Williams <nate@FreeBSD.org>2001-03-06 15:41:02 +0000
commit5299cd1d891aba8e4bbf2a94e3bb736864ec7889 (patch)
treebd77b4c317407a32dffa4867361efbb35c990ffb /java
parentupdate to 1.5.2. (diff)
- Inform the user about the need for the compat 3.X libraries if they
install on a FreeBSD 4.X system. Submitted by: Ernst de Haan <ernst@jollem.com>
Diffstat (limited to 'java')
-rw-r--r--java/jdk/Makefile5
-rw-r--r--java/jdk11/Makefile5
2 files changed, 8 insertions, 2 deletions
diff --git a/java/jdk/Makefile b/java/jdk/Makefile
index dc96779fbe22..bf5d0a800e17 100644
--- a/java/jdk/Makefile
+++ b/java/jdk/Makefile
@@ -42,5 +42,8 @@ do-install:
post-install:
${LOCALBASE}/bin/registervm "${PREFIX}/jdk${JDK_VERSION}/bin/java # JDK${JDK_VERSION}"
-
+.if ${OSVERSION} > 400000
+ ${ECHO} "You will need to install the compat3x libraries to use this port."
+.endif
+
.include <bsd.port.post.mk>
diff --git a/java/jdk11/Makefile b/java/jdk11/Makefile
index dc96779fbe22..bf5d0a800e17 100644
--- a/java/jdk11/Makefile
+++ b/java/jdk11/Makefile
@@ -42,5 +42,8 @@ do-install:
post-install:
${LOCALBASE}/bin/registervm "${PREFIX}/jdk${JDK_VERSION}/bin/java # JDK${JDK_VERSION}"
-
+.if ${OSVERSION} > 400000
+ ${ECHO} "You will need to install the compat3x libraries to use this port."
+.endif
+
.include <bsd.port.post.mk>