diff options
-rw-r--r-- | mail/teapop/Makefile | 9 | ||||
-rw-r--r-- | mk/bsd.pkg.defaults.mk | 7 |
2 files changed, 14 insertions, 2 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} diff --git a/mk/bsd.pkg.defaults.mk b/mk/bsd.pkg.defaults.mk index 738705553b7..0f6691d02b5 100644 --- a/mk/bsd.pkg.defaults.mk +++ b/mk/bsd.pkg.defaults.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.defaults.mk,v 1.47 2002/03/26 08:24:59 martti Exp $ +# $NetBSD: bsd.pkg.defaults.mk,v 1.48 2002/04/03 23:10:41 hubertf Exp $ # # A file providing defaults for pkgsrc and the packages collection. @@ -1183,6 +1183,11 @@ TIN_USE_INN_SPOOL?= NO # Possible: defined, not defined # Default: not defined +#TEAPOP_WITH_MYSQL= yes +# Compile teapop with MySQL support. +# Possible: defined, not defined +# Default: not defined + #TEXMFSITE= # Used in TeXfamily package which depends on teTeX package to specify # site-local texmf configuration. |