diff options
Diffstat (limited to 'mail/teapop/Makefile')
-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} |