Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Mar 2007 13:43:10 +0900
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        ade@FreeBSD.org
Cc:        ports@FreeBSD.org, Norikatsu Shigemura <nork@FreeBSD.org>
Subject:   [ports/devel/gettext] not respect PTHREAD_LIBS issue
Message-ID:  <20070324134310.5bdd5cc7.nork@FreeBSD.org>

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



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