[Bsd-sharp-list] [ports/lang/mono] Respect PTHREAD_LIBS

Tom McLaughlin tmclaugh at sdf.lonestar.org
Sat Dec 9 12:28:18 PST 2006


On Sat, 2006-12-09 at 23:28 +0900, Norikatsu Shigemura wrote:
> Hi tmclaugh!
> 
> 	I found a issue of not respect PTHREAD_LIBS.
> 	Please check following patch.

Thanks nork, just committed it.

tom

> 
> 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
> _______________________________________________
> Bsd-sharp-list mailing list
> Bsd-sharp-list at forge.novell.com
> 
> Home Page: http://www.mono-project.com/Mono:FreeBSD
> Project Site: http://forge.novell.com/mailman/listinfo/bsd-sharp-list
> IRC: #BSD-Sharp on irc.freenode.org
-- 
| tmclaugh at sdf.lonestar.org             tmclaugh at FreeBSD.org |
| FreeBSD                                   http://www.FreeBSD.org |
| BSD#                    http://www.mono-project.com/Mono:FreeBSD |



More information about the freebsd-ports mailing list