aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorJim Mock <jim@FreeBSD.org>2001-08-28 08:13:01 +0000
committerJim Mock <jim@FreeBSD.org>2001-08-28 08:13:01 +0000
commitb59a41647f892ba544fbd2e48b6df42f9e3c1559 (patch)
tree3886ed6aade9553e1662f263e3549993b794f8f2 /net-im
parent0110207ff6cf440dc1c19f510967ac62688a08fb (diff)
downloadports-b59a41647f892ba544fbd2e48b6df42f9e3c1559.tar.gz
ports-b59a41647f892ba544fbd2e48b6df42f9e3c1559.zip
* Improve pre-patch.
* Add PTHREAD_CFLAGS. PR: 30000 Submitted by: Patrick Li <pat@databits.net>
Notes
Notes: svn path=/head/; revision=47009
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 c08f25690ee7..11bdbad5df59 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>