[ports/lang/mono] Respect PTHREAD_LIBS
Norikatsu Shigemura
nork at FreeBSD.org
Sat Dec 9 06:29:05 PST 2006
Hi tmclaugh!
I found a issue of not respect PTHREAD_LIBS.
Please check following patch.
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/lang/mono/Makefile,v
retrieving revision 1.57
diff -u -r1.57 Makefile
--- Makefile 7 Oct 2006 17:39:36 -0000 1.57
+++ Makefile 9 Dec 2006 14:09:59 -0000
@@ -67,6 +67,8 @@
${WRKSRC}/mono/metadata/assembly.c
@${REINPLACE_CMD} -e 's|.so.0|.so|g' \
${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' \
+ ${WRKSRC}/configure ${WRKSRC}/libgc/configure
@${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g ; \
s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g' \
${WRKSRC}/mcs/tools/mkbundle/mkbundle.cs
More information about the freebsd-ports
mailing list