diff options
author | krion <krion@FreeBSD.org> | 2003-09-24 22:34:22 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2003-09-24 22:34:22 +0800 |
commit | 4262480bcc859a61a1de92a7de2583482ddc7483 (patch) | |
tree | b027215d5577adba6b19ace6119dbb3dfac651a9 /net | |
parent | 98f6bca1db84ab09837bf861acabbf289cf798f6 (diff) | |
download | freebsd-ports-gnome-4262480bcc859a61a1de92a7de2583482ddc7483.tar.gz freebsd-ports-gnome-4262480bcc859a61a1de92a7de2583482ddc7483.tar.zst freebsd-ports-gnome-4262480bcc859a61a1de92a7de2583482ddc7483.zip |
- Honor CFLAGS and use PTHREAD_LIBS
Submitted by: Pav Lucistnik <pav@oook.cz>
Diffstat (limited to 'net')
-rw-r--r-- | net/nast/Makefile | 3 |
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: |