From 16b031d1c4fb53eeef29e78408b60cd3a2688454 Mon Sep 17 00:00:00 2001 From: clsung Date: Wed, 20 Apr 2005 08:17:07 +0000 Subject: - respect PTHREAD_LIBS Noted by: kris --- security/clamsmtp/Makefile | 3 +++ security/clamsmtp/files/patch-configure | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'security/clamsmtp') 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 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: -- cgit