diff options
author | hubertf <hubertf> | 2002-04-03 23:10:41 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2002-04-03 23:10:41 +0000 |
commit | 182b6a4df2209776729c697d532969d8cf37f3f3 (patch) | |
tree | 180aa87a8be3f89b24a433ed3b6e56686d1ef5ef /mail/teapop | |
parent | 0c94acdc5afabb15f285ad509df9e2d890764c17 (diff) | |
download | pkgsrc-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/Makefile | 9 |
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} |