summaryrefslogtreecommitdiff
path: root/mail/teapop
diff options
context:
space:
mode:
authorhubertf <hubertf>2002-04-03 23:10:41 +0000
committerhubertf <hubertf>2002-04-03 23:10:41 +0000
commit182b6a4df2209776729c697d532969d8cf37f3f3 (patch)
tree180aa87a8be3f89b24a433ed3b6e56686d1ef5ef /mail/teapop
parent0c94acdc5afabb15f285ad509df9e2d890764c17 (diff)
downloadpkgsrc-182b6a4df2209776729c697d532969d8cf37f3f3.tar.gz
Allow teapop to use mysql, when TEAPOP_WITH_MYSQL is defined.
Bump pkg revision. Contributed in private mail by Charlie Root <root@gornik.tgr.lubin.edu.pl>
Diffstat (limited to 'mail/teapop')
-rw-r--r--mail/teapop/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/mail/teapop/Makefile b/mail/teapop/Makefile
index 8768c0fab88..a1f290ca0dd 100644
--- a/mail/teapop/Makefile
+++ b/mail/teapop/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2001/12/02 06:56:42 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2002/04/03 23:10:43 hubertf Exp $
DISTNAME= teapop-0.3.2
+PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.toontown.org/pub/teapop/ \
http://www.toontown.org/pub/teapop/
@@ -28,6 +29,12 @@ CONFIGURE_ARGS+=--disable-apop
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
+.endif
+
post-install:
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/etc/teapop.passwd ${EGDIR}