From fa9ca7808357997aefb9e30c029d87bb1fdb4d5a Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Sun, 11 Dec 2005 21:59:07 +0000 Subject: . 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) --- java/jdk13/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'java') 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 -- cgit v1.2.3