summaryrefslogtreecommitdiffstats
path: root/net/nast
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-09-24 14:34:22 +0000
committerkrion <krion@FreeBSD.org>2003-09-24 14:34:22 +0000
commit4262480bcc859a61a1de92a7de2583482ddc7483 (patch)
treeb027215d5577adba6b19ace6119dbb3dfac651a9 /net/nast
parent98f6bca1db84ab09837bf861acabbf289cf798f6 (diff)
downloadFreeBSD-ports-4262480bcc859a61a1de92a7de2583482ddc7483.zip
FreeBSD-ports-4262480bcc859a61a1de92a7de2583482ddc7483.tar.gz
- Honor CFLAGS and use PTHREAD_LIBS
Submitted by: Pav Lucistnik <pav@oook.cz>
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 8d43a6a..8808553 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:
OpenPOWER on IntegriCloud