[ports/devel/libgii] Respect PTHREAD_LIBS
Norikatsu Shigemura
nork at FreeBSD.org
Sat Dec 9 06:19:11 PST 2006
Hi Antoine.
I found a issue of not respect PTHREAD_LIBS.
May I commit following patch?
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/libgii/Makefile,v
retrieving revision 1.25
diff -u -r1.25 Makefile
--- Makefile 18 Mar 2006 13:42:48 -0000 1.25
+++ Makefile 29 Nov 2006 14:21:49 -0000
@@ -207,6 +207,9 @@
PLIST_SUB+= VGL=""
.endif
+post-patch:
+ ${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/' ${WRKSRC}/configure
+
post-install:
${INSTALL_DATA} ${WRKSRC}/libgii.conf ${PREFIX}/etc/ggi/libgii.conf.dist
${INSTALL_DATA} ${WRKSRC}/filter/mouse/mouse ${PREFIX}/etc/ggi/filter/mouse.dist
More information about the freebsd-ports
mailing list