aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authortmclaugh <tmclaugh@FreeBSD.org>2006-12-10 04:25:55 +0800
committertmclaugh <tmclaugh@FreeBSD.org>2006-12-10 04:25:55 +0800
commit6939fa4d8bbacf35d58a6791bdade2fcb7b28eb8 (patch)
tree908933bae3156c25bd05fed4de9448fb612c2e67 /lang
parent7d596a91260f64ab7549aaa4edfbe16f31f21522 (diff)
downloadfreebsd-ports-gnome-6939fa4d8bbacf35d58a6791bdade2fcb7b28eb8.tar.gz
freebsd-ports-gnome-6939fa4d8bbacf35d58a6791bdade2fcb7b28eb8.tar.zst
freebsd-ports-gnome-6939fa4d8bbacf35d58a6791bdade2fcb7b28eb8.zip
Use PTHREAD_LIBS with the included libgc.
Submitted by: nork
Diffstat (limited to 'lang')
-rw-r--r--lang/mono/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/mono/Makefile b/lang/mono/Makefile
index 77d9d672cd55..e6bc72fbd1d6 100644
--- a/lang/mono/Makefile
+++ b/lang/mono/Makefile
@@ -67,6 +67,8 @@ post-patch:
${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