summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-08-14 09:49:14 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-08-14 09:49:14 +0000
commit115b1fcfe462a9ee93b68014a38737f7ba8e631a (patch)
tree3b0c8f962a212ef5c9fb368c6a0d8ab86c987c71
parentAdd p5-bioperl-devel 0.9.0, (diff)
Depend on misc/compat3x.
Approved by: sobomax (MAINTAINER)
Notes
Notes: svn path=/head/; revision=46229
-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; \