summaryrefslogtreecommitdiff
path: root/net/nast
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-09-24 14:34:22 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-09-24 14:34:22 +0000
commit0e53131680b84796aa4e25f210f89449f728e14c (patch)
tree6bead9384fbb5bab187d6d0c024c74c7e7ee6d8a /net/nast
parentFix -pthread issue on -CURRENT (diff)
- Honor CFLAGS and use PTHREAD_LIBS
Submitted by: Pav Lucistnik <pav@oook.cz>
Notes
Notes: svn path=/head/; revision=89234
Diffstat (limited to 'net/nast')
-rw-r--r--net/nast/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/nast/Makefile b/net/nast/Makefile
index 8d43a6ab4baf..88085532c29f 100644
--- a/net/nast/Makefile
+++ b/net/nast/Makefile
@@ -25,6 +25,7 @@ DOC_FILES= README
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_REINPLACE= yes
+CONFIGURE_ENV= LIBS="${PTHREAD_LIBS}"
.include <bsd.port.pre.mk>
@@ -38,7 +39,7 @@ pre-everything::
@${ECHO_MSG} ""
post-patch:
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
+ @${REINPLACE_CMD} -e 's|CFLAGS="-Wall -O2 -pthread"||g' \
${WRKSRC}/configure
do-install: