summaryrefslogtreecommitdiff
path: root/mail/policyd/Makefile
diff options
context:
space:
mode:
authorghen <ghen>2012-03-02 09:58:55 +0000
committerghen <ghen>2012-03-02 09:58:55 +0000
commitdf3adf42ad3e535ef3067cf0008ec6d6a55cd577 (patch)
tree6b477e46dc998183e96b393acd37f6721ed1bfec /mail/policyd/Makefile
parentd904e74aa7ac7521c065914d54c1a095c8a278f5 (diff)
downloadpkgsrc-df3adf42ad3e535ef3067cf0008ec6d6a55cd577.tar.gz
Use ENGINE=MyISAM instead of TYPE=MyISAM in database template, as TYPE is no
longer supported in MySQL 5.5. Noted by Zhang Huangbin. Bump PKGREVISION.
Diffstat (limited to 'mail/policyd/Makefile')
-rw-r--r--mail/policyd/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/mail/policyd/Makefile b/mail/policyd/Makefile
index 7cc9ebe842d..4387a41641e 100644
--- a/mail/policyd/Makefile
+++ b/mail/policyd/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2011/11/29 06:19:43 sbd Exp $
+# $NetBSD: Makefile,v 1.6 2012/03/02 09:58:55 ghen Exp $
DISTNAME= policyd-1.82
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=policyd/}
@@ -32,6 +32,11 @@ SUBST_STAGE.config= post-build
SUBST_FILES.config= policyd.conf
SUBST_SED.config= -e 's,%%VARBASE%%,${VARBASE},'
+SUBST_CLASSES+= dbtype
+SUBST_STAGE.dbtype= post-build
+SUBST_FILES.dbtype= DATABASE.mysql
+SUBST_SED.dbtype= -e 's,TYPE=,ENGINE=,'
+
FILES_SUBST+= BINDIR=${BINDIR}
MESSAGE_SUBST+= BINDIR=${BINDIR}
MESSAGE_SUBST+= EGDIR=${EGDIR}