diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2005-04-20 08:17:07 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2005-04-20 08:17:07 +0000 |
commit | 5fc1acb3f106cfec367e233f7f4b14f57000bd8b (patch) | |
tree | 827e8d02a8b8b9e929b18e138333b1558b258745 /security | |
parent | b2f6cc52960915985cbb4e60ccac035135ed8ede (diff) | |
download | ports-5fc1acb3f106cfec367e233f7f4b14f57000bd8b.tar.gz ports-5fc1acb3f106cfec367e233f7f4b14f57000bd8b.zip |
Notes
Diffstat (limited to 'security')
-rw-r--r-- | security/clamsmtp/Makefile | 3 | ||||
-rw-r--r-- | security/clamsmtp/files/patch-configure | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/security/clamsmtp/Makefile b/security/clamsmtp/Makefile index 108acb896acb..7784080a5603 100644 --- a/security/clamsmtp/Makefile +++ b/security/clamsmtp/Makefile @@ -44,4 +44,7 @@ post-install: .endif @${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${PKGMESSAGE} +post-patch: + @${REINPLACE_CMD} -e "s,%%PTHREAD_LIBS%%,${PTHREAD_LIBS}," ${WRKSRC}/configure + .include <bsd.port.mk> diff --git a/security/clamsmtp/files/patch-configure b/security/clamsmtp/files/patch-configure index 4d22f6a8e7fd..5d025d1c5658 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 -pthreads lthread -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" # The ordering *is* (sometimes) important. Some notes on the # individual items follow: |