summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2005-12-11 21:59:07 +0000
committerGreg Lewis <glewis@FreeBSD.org>2005-12-11 21:59:07 +0000
commitfa9ca7808357997aefb9e30c029d87bb1fdb4d5a (patch)
tree5bee4aef4f610962cd2a625875982b3e081f72c9 /java
parentSecurity upgrade to 2.0.3. (diff)
. Try to bandaid a build problem on 7-CURRENT. This is a legitimate fix,
and will stay in the port, but it masks an underlying problem that still remains. Reported by: pointyhat (via kris)
Diffstat (limited to 'java')
-rw-r--r--java/jdk13/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/java/jdk13/Makefile b/java/jdk13/Makefile
index b0fe174ce68f..c9deea2623ab 100644
--- a/java/jdk13/Makefile
+++ b/java/jdk13/Makefile
@@ -208,7 +208,10 @@ post-patch:
done
.if defined(WITH_NATIVE_THREADS) || defined(WITH_HOTSPOT)
@for file in ${PTHREAD_FILES}; do \
- ${REINPLACE_CMD} -e "s:-pthread:${PTHREAD_LIBS}:g" ${WRKSRC}/$${file}; \
+ ${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