aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: