aboutsummaryrefslogtreecommitdiff
path: root/security/clamsmtp
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-03-25 08:30:27 +0000
committerJohn Marino <marino@FreeBSD.org>2015-03-25 08:30:27 +0000
commitc55ac89dcdd6a84ca67f7888c69ebe78c1dac826 (patch)
tree123ddeae4f07536b3d89acc6409ce124aa06d373 /security/clamsmtp
parentf7fc243237d967aba76bb0b8a954cf952eca0693 (diff)
downloadports-c55ac89dcdd6a84ca67f7888c69ebe78c1dac826.tar.gz
ports-c55ac89dcdd6a84ca67f7888c69ebe78c1dac826.zip
security category: Remove $PTHREAD_LIBS
approved by: PTHREAD blanket
Notes
Notes: svn path=/head/; revision=382200
Diffstat (limited to 'security/clamsmtp')
-rw-r--r--security/clamsmtp/Makefile1
-rw-r--r--security/clamsmtp/files/patch-configure2
2 files changed, 1 insertions, 2 deletions
diff --git a/security/clamsmtp/Makefile b/security/clamsmtp/Makefile
index 1ed4421dd3f0..fb55ca695054 100644
--- a/security/clamsmtp/Makefile
+++ b/security/clamsmtp/Makefile
@@ -34,7 +34,6 @@ SUB_LIST+= CLAMD=
.endif
post-patch:
- @${REINPLACE_CMD} -e "s,%%PTHREAD_LIBS%%,${PTHREAD_LIBS}," ${WRKSRC}/configure
@${REINPLACE_CMD} -e "s,/var/run/clamav/clamd,/var/run/clamav/clamd.sock," \
${WRKSRC}/doc/clamsmtpd.conf \
${WRKSRC}/doc/clamsmtpd.conf.5 \
diff --git a/security/clamsmtp/files/patch-configure b/security/clamsmtp/files/patch-configure
index 5d025d1c5658..cfeb5a9c3341 100644
--- a/security/clamsmtp/files/patch-configure
+++ b/security/clamsmtp/files/patch-configure
@@ -5,7 +5,7 @@
# which is a program returning the flags for the Pth emulation library.
-acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
-+acx_pthread_flags="pthreads none -Kthread -kthread %%PTHREAD_LIBS%% -pthreads lthread -mthreads pthread --thread-safe -mt pthread-config"
++acx_pthread_flags="pthreads none -Kthread -kthread -lpthread -pthread -mt pthread-config"
# The ordering *is* (sometimes) important. Some notes on the
# individual items follow: