aboutsummaryrefslogtreecommitdiff
path: root/java/jdk13/Makefile
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/jdk13/Makefile
parent05f2149001eb6ed0d9643921add16724a5a2a8f1 (diff)
downloadports-fa9ca7808357997aefb9e30c029d87bb1fdb4d5a.tar.gz
ports-fa9ca7808357997aefb9e30c029d87bb1fdb4d5a.zip
Notes
Diffstat (limited to 'java/jdk13/Makefile')
-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