diff options
author | glewis <glewis@FreeBSD.org> | 2006-01-14 00:23:47 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2006-01-14 00:23:47 +0800 |
commit | 36f51d8451b259a6c6742995314c12d2dceac310 (patch) | |
tree | f2ea234730d2655814f1aebca2ea0fc6c3b1e22a /java | |
parent | b5ac4651bd9c10a62fc529adaaf9a41a18baddaa (diff) | |
download | freebsd-ports-gnome-36f51d8451b259a6c6742995314c12d2dceac310.tar.gz freebsd-ports-gnome-36f51d8451b259a6c6742995314c12d2dceac310.tar.zst freebsd-ports-gnome-36f51d8451b259a6c6742995314c12d2dceac310.zip |
. Always fix up the pthread library references, even if we're not
building either native threads or HotSpot. This is due to libcmm
always wanting to link against a pthread library, which was causing
problems on 7-CURRENT since it was erroneously hardwired to -lc_r.
This should really fix the problem.
Pointed out by: pointyhat via kris
Diffstat (limited to 'java')
-rw-r--r-- | java/jdk13/Makefile | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/java/jdk13/Makefile b/java/jdk13/Makefile index c9deea2623ab..a37f8d68e525 100644 --- a/java/jdk13/Makefile +++ b/java/jdk13/Makefile @@ -128,7 +128,6 @@ BUILD_DEPENDS+= ${JDK13DIR}/bin/javac:${PORTSDIR}/java/jbootstrap .endif .endif -.if defined(WITH_NATIVE_THREADS) || defined(WITH_HOTSPOT) PTHREAD_FILES= common/Defs.gmk \ common/Program.gmk \ java/hpi/native/Makefile \ @@ -137,7 +136,6 @@ PTHREAD_FILES= common/Defs.gmk \ ../../hotspot1.3.1/build/linux/platform_i486 \ ../../hotspot1.3.1/build/bsd/makefiles/gcc.make \ ../../hotspot1.3.1/build/linux/makefiles/vm.make -.endif .if ${OSVERSION} < 460101 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500038 ) EXTRACT_DEPENDS+= gtar:${PORTSDIR}/archivers/gtar @@ -206,14 +204,12 @@ post-patch: ${REINPLACE_CMD} -e "s:%%LOCALBASE%%:${LOCALBASE}:" \ ${WRKSRC}/$${file}; \ done -.if defined(WITH_NATIVE_THREADS) || defined(WITH_HOTSPOT) @for file in ${PTHREAD_FILES}; do \ ${REINPLACE_CMD} -e "s:-pthread:${PTHREAD_LIBS}:g" \ -e "s:-lc_r:${PTHREAD_LIBS}:g" \ -e "s:-lpthread:${PTHREAD_LIBS}:g" \ ${WRKSRC}/$${file}; \ done -.endif pre-build: .if defined(WITH_LINUX_BOOTSTRAP) |