Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Dec 2006 23:28:58 +0900
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        bsd-sharp-list@forge.novell.com
Cc:        ports@FreeBSD.org
Subject:   [ports/lang/mono] Respect PTHREAD_LIBS
Message-ID:  <20061209232858.c1ec61ac.nork@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061209232858.c1ec61ac.nork>