summaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorjim <jim@FreeBSD.org>2001-08-28 08:13:01 +0000
committerjim <jim@FreeBSD.org>2001-08-28 08:13:01 +0000
commit4cc79a18781c639c6f249f2c8e5edc9ed022d24e (patch)
tree2f1c5edb55220ef323fa519f28957d1d1151ec74 /net-im
parentdcae3ce457f6e1f5ba11e6015b0b497d4236cca8 (diff)
downloadFreeBSD-ports-4cc79a18781c639c6f249f2c8e5edc9ed022d24e.zip
FreeBSD-ports-4cc79a18781c639c6f249f2c8e5edc9ed022d24e.tar.gz
* Improve pre-patch.
* Add PTHREAD_CFLAGS. PR: 30000 Submitted by: Patrick Li <pat@databits.net>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/ayttm/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/net-im/ayttm/Makefile b/net-im/ayttm/Makefile
index c08f256..11bdbad 100644
--- a/net-im/ayttm/Makefile
+++ b/net-im/ayttm/Makefile
@@ -17,10 +17,12 @@ USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GTK= yes
GNU_CONFIGURE= yes
+CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
MAN1= everybuddy.1
pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS:S/"//g}|g; \
+ s|-lpthreads|${PTHREAD_LIBS:S/"//g}|g' ${WRKSRC}/configure
.include <bsd.port.mk>
OpenPOWER on IntegriCloud