Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Dec 2006 23:19:07 +0900
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        antoine.brodin@laposte.net
Cc:        ports@FreeBSD.org
Subject:   [ports/devel/libgii] Respect PTHREAD_LIBS
Message-ID:  <20061209231907.66900b70.nork@FreeBSD.org>

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



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