diff options
author | glewis <glewis@FreeBSD.org> | 2004-01-20 03:28:40 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2004-01-20 03:28:40 +0800 |
commit | 1d3a3f18656251be75affaefb2231bc00877f4f0 (patch) | |
tree | ff7a1e0e8519899e4a0e420f33d30f621fbbf670 /java/jdk13/Makefile | |
parent | d184b3e27628f91c47e8dc91e48b302a5a91a67b (diff) | |
download | freebsd-ports-gnome-1d3a3f18656251be75affaefb2231bc00877f4f0.tar.gz freebsd-ports-gnome-1d3a3f18656251be75affaefb2231bc00877f4f0.tar.zst freebsd-ports-gnome-1d3a3f18656251be75affaefb2231bc00877f4f0.zip |
. Add ${LOCALBASE}/lib to the default search path for libraries when using
JNI.
XXX: Maybe ${X11BASE}/lib and /lib (5.x dynamic root support) should also
be added? /lib is part of the default search path on Linux.
Requested by: marcus
Diffstat (limited to 'java/jdk13/Makefile')
-rw-r--r-- | java/jdk13/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/java/jdk13/Makefile b/java/jdk13/Makefile index 780702122f01..42b64800d4c4 100644 --- a/java/jdk13/Makefile +++ b/java/jdk13/Makefile @@ -7,7 +7,7 @@ PORTNAME= jdk PORTVERSION= ${JDK_VERSION}p${JDK_PATCHSET_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= java devel MASTER_SITES= # http://www.sun.com/software/java2/download.html # http://www.eyesbeyond.com/freebsddom/java/jdk13.html @@ -48,6 +48,7 @@ JDK_PATCHSET_VERSION= 9 ONLY_FOR_ARCHS= i386 USE_GMAKE= yes +USE_REINPLACE= yes RESTRICTED= "Redistribution of pre-compiled binaries is not permitted" NO_CDROM= "Redistribution of pre-compiled binaries is not permitted" MAKE_ENV= ALT_BOOTDIR="${JDK13DIR}" \ @@ -86,7 +87,6 @@ PLIST_SUB+= DEBUG:="" .if defined(WITH_NATIVE_THREADS) || defined(WITH_HOTSPOT) PLIST_SUB+= NATIVE:="" MAKE_ARGS+= HPIS="green native" -USE_REINPLACE= yes .else PLIST_SUB+= NATIVE:="@comment " .endif @@ -191,6 +191,8 @@ pre-patch: post-patch: @-${FIND} ${WRKDIR} -name SCCS -exec ${RM} -rf {} \; + @${REINPLACE_CMD} -e "s:%%LOCALBASE%%:${LOCALBASE}:" \ + ${WRKSRC}/../src/solaris/javavm/runtime/javai_md.c .if defined(WITH_NATIVE_THREADS) || defined(WITH_HOTSPOT) @for file in ${PTHREAD_FILES}; do \ ${REINPLACE_CMD} -e "s:-pthread:${PTHREAD_LIBS}:g" ${WRKSRC}/$${file}; \ |