ports/devel/icu: PTHREAD_LIBS clean
Norikatsu Shigemura
nork at FreeBSD.org
Mon Nov 27 05:30:36 PST 2006
Hi mi!
I found a problem that icu don't reflect PTHREAD_LIBS=ANY(like -lthr).
Please check following patch.
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/icu/Makefile,v
retrieving revision 1.24
diff -u -r1.24 Makefile
--- Makefile 9 Nov 2006 02:55:27 -0000 1.24
+++ Makefile 26 Nov 2006 17:10:08 -0000
@@ -67,6 +67,7 @@
CONFIGURE_ARGS+= --enable-threads=yes
post-patch:
${REINPLACE_CMD} -e 's,\(THREADSC.*FLAGS\).*,\1=${PTHREAD_CFLAGS},g' ${WRKSRC}/config/mh-bsd-gcc
+ ${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},g' ${WRKSRC}/configure
.else
CONFIGURE_ARGS+= --enable-threads=no
.endif
More information about the freebsd-ports
mailing list