From 9c4a0dc0ea1b0bc22b7d421d88e62d637bbd6d4d Mon Sep 17 00:00:00 2001
From: Pav Lucistnik <pav@FreeBSD.org>
Date: Fri, 1 Dec 2006 16:31:24 +0000
Subject: - Fix duplicate LATEST_LINK, as reported by kris - Remove
 non-existent USE_PTHREAD, replace -pthread with PTHREAD_LIBS

---
 mail/dbmail21/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'mail/dbmail21')

diff --git a/mail/dbmail21/Makefile b/mail/dbmail21/Makefile
index 7757983ee16e..31d1f49e380c 100644
--- a/mail/dbmail21/Makefile
+++ b/mail/dbmail21/Makefile
@@ -33,10 +33,9 @@ USE_RC_SUBR=	dbmail-pop3d.sh dbmail-lmtpd.sh dbmail-imapd.sh
 LIB_DEPENDS+=	gmime-2.0.4:${PORTSDIR}/mail/gmime2
 USE_GNOME=	glib20
 USE_OPENSSL=	YES
-USE_PTHREADS=	YES
 
 CFLAGS+=	-fPIC -I${LOCALBASE}/include -L${LOCALBASE}/lib
-LDFLAGS+=	-pthread
+LDFLAGS+=	${PTHREAD_LIBS}
 CONFIGURE_ENV+=	LDFLAGS="${LDFLAGS}" LOCALBASE=${LOCALBASE}
 
 PORTDOCS=	AUTHORS BUGS COPYING INSTALL NEWS README \
@@ -52,6 +51,7 @@ MAN8=		dbmail-export.8 dbmail-imapd.8 dbmail-lmtpd.8 \
 MANCOMPRESSED=	no
 MSG_FILE=	${PKGDIR}/pkg-message
 PKGMESSAGE=	${WRKDIR}/pkg-message
+LATEST_LINK=	dbmail21
 
 PLIST_SUB+=	PORTNAME=${PORTNAME}
 .if defined(NOPORTDOCS)
-- 
cgit v1.2.3