summaryrefslogtreecommitdiff
path: root/mail/teapop/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-05-20 14:06:43 +0000
committerwiz <wiz@pkgsrc.org>2002-05-20 14:06:43 +0000
commit16b04ecfe03ad38449b8101bc0f79b3324bc3b48 (patch)
tree4f336eb66fd1b04233f8b24331e430e78fb4babc /mail/teapop/Makefile
parenta882ebd77117f05170fe345385b024e0fa9d8a2f (diff)
downloadpkgsrc-16b04ecfe03ad38449b8101bc0f79b3324bc3b48.tar.gz
Add DRAC support (requested in pkg/16797), use more buildlink files,
and replace bogus MAINTAINER email.
Diffstat (limited to 'mail/teapop/Makefile')
-rw-r--r--mail/teapop/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/mail/teapop/Makefile b/mail/teapop/Makefile
index f3655d34949..3c699d624ba 100644
--- a/mail/teapop/Makefile
+++ b/mail/teapop/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2002/05/07 22:49:19 hubertf Exp $
+# $NetBSD: Makefile,v 1.10 2002/05/20 14:06:43 wiz Exp $
DISTNAME= teapop-0.3.4
PKGREVISION= 1
@@ -6,7 +6,7 @@ CATEGORIES= mail
MASTER_SITES= ftp://ftp.toontown.org/pub/teapop/ \
http://www.toontown.org/pub/teapop/
-MAINTAINER= dawszy@netbsd.org
+MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.toontown.org/teapop/
COMMENT= Yet another RFC1939 compliant POP3 server
@@ -21,6 +21,12 @@ CONF_FILES= ${EGDIR}/teapop.passwd ${PKG_SYSCONFDIR}/teapop.passwd
.include "../../mk/bsd.prefs.mk"
+.if defined(POP_WITH_DRAC)
+.include "../../mail/drac/buildlink.mk"
+CONFIGURE_ARGS+= --with-drac=${BUILDLINK_DIR}/lib
+CONFIGURE_ARGS+= --with-dracinc=${BUILDLINK_DIR}/include
+.endif
+
.if defined(TEAPOP_WITHOUT_APOP)
CONFIGURE_ARGS+=--disable-apop
.endif
@@ -30,9 +36,9 @@ CONFIGURE_ARGS+=--disable-vpop
.endif
.if defined(TEAPOP_WITH_MYSQL)
-DEPENDS+= mysql-client>=3.23:../../databases/mysql-client
-CONFIGURE_ARGS+= --with-mysql=${LOCALBASE}
-LDFLAGS+= -L${LOCALBASE}/lib/mysql -Wl,-R${LOCALBASE}/lib/mysql
+.include "../../databases/mysql-client/buildlink.mk"
+CONFIGURE_ARGS+= --with-mysql=${BUILDLINK_DIR}
+LDFLAGS+= -L${BUILDLINK_DIR}/lib/mysql -Wl,-R${LOCALBASE}/lib/mysql
.endif
post-build: