aboutsummaryrefslogtreecommitdiffstats
path: root/java/jre
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-08-14 17:49:14 +0800
committerknu <knu@FreeBSD.org>2001-08-14 17:49:14 +0800
commit9fbab13fb880b0d536cadbe960ced75b60c1e468 (patch)
treee2da628f503d38f879690c382ed9738f76dff8dc /java/jre
parent2a3b41b0069fc3e30b49035137517be36ec0fca2 (diff)
downloadfreebsd-ports-gnome-9fbab13fb880b0d536cadbe960ced75b60c1e468.tar.gz
freebsd-ports-gnome-9fbab13fb880b0d536cadbe960ced75b60c1e468.tar.zst
freebsd-ports-gnome-9fbab13fb880b0d536cadbe960ced75b60c1e468.zip
Depend on misc/compat3x.
Approved by: sobomax (MAINTAINER)
Diffstat (limited to 'java/jre')
-rw-r--r--java/jre/Makefile15
1 files changed, 1 insertions, 14 deletions
diff --git a/java/jre/Makefile b/java/jre/Makefile
index 2926fe83c5b5..3a32046bcc5c 100644
--- a/java/jre/Makefile
+++ b/java/jre/Makefile
@@ -42,23 +42,10 @@ STRIPFILES= bin/i386/green_threads/jre \
.if ${PORTOBJFORMAT} == "aout"
DISTFILES= jre${JRE_VERSION}i_AOUT.V1999-11-9.tar.gz
.else
+LIB_DEPENDS+= c.3:${PORTSDIR}/misc/compat3x
DISTFILES= jre${JRE_VERSION}i_ELF.V1999-11-9.tar.gz
.endif
-pre-extract:
-.if ${PORTOBJFORMAT} == "elf"
- @if ! (${LDCONFIG} -r | ${GREP} -qwF -e "-lc.3"); then \
- ${ECHO_MSG} ; \
- ${ECHO_MSG} " WARNING! It appears that you don't have installed libc.so.3 shared library," ; \
- ${ECHO_MSG} " which is required to run JRE. Usually you can install it as part of" ; \
- ${ECHO_MSG} " the \`compat3x' package. If you have FreeBSD source code installed" ; \
- ${ECHO_MSG} " then you can use the following command to install it:" ; \
- ${ECHO_MSG} ; \
- ${ECHO_MSG} " # cd /usr/src/lib/compat/compat3x.${ARCH} ; make install" ; \
- ${ECHO_MSG} ; \
- fi
-.endif
-
do-build:
@for file in ${STRIPFILES}; do \
strip ${WRKSRC}/$$file; \