[ports/devel/gettext] not respect PTHREAD_LIBS issue

Norikatsu Shigemura nork at FreeBSD.org
Sat Mar 24 05:21:03 UTC 2007


Hi ade.

	This port has a 'not respect PTHREAD_LIBS' issue.  Can you please
	investigate and/or validate following patch?  By the way, I'm
	validating ports which have this issue on no libpthread.* environment.
	So you won't get this error, and notice it.

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/gettext/Makefile,v
retrieving revision 1.75
diff -u -r1.75 Makefile
--- Makefile	17 Mar 2007 22:37:26 -0000	1.75
+++ Makefile	24 Mar 2007 04:29:38 -0000
@@ -62,7 +62,7 @@
 
 post-patch:
 	@${FIND} ${WRKSRC} -name configure -print | ${XARGS} \
-	    ${REINPLACE_CMD} -e 's|mkdir gmkdir|mkdir|'
+	    ${REINPLACE_CMD} -e 's|mkdir gmkdir|mkdir|' -e 's/-lpthread/${PTHREAD_LIBS}/'
 .if defined (NOPORTDOCS)
 .for dir in runtime tools
 	@${REINPLACE_CMD} -e 's|^SUBDIRS = doc|SUBDIRS =|' \


More information about the freebsd-ports mailing list