diff --git a/mail/policyd2/Makefile b/mail/policyd2/Makefile index 54bdcb0c2741..f3fd320018e4 100644 --- a/mail/policyd2/Makefile +++ b/mail/policyd2/Makefile @@ -30,6 +30,7 @@ PORTDOCS= AUTHORS CHANGELOG INSTALL TODO WISHLIST PORTDATA= * OPTIONS= MYSQL "Use MySQL support" On \ + PostgreSQL "Use PostgreSQL support" Off \ SQLite "Use SQLite support" Off .include @@ -40,6 +41,9 @@ RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DB .if defined(WITH_SQLite) RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/SQLite.pm:${PORTSDIR}/databases/p5-DBD-SQLite .endif +.if defined(WITH_PostgreSQL) +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg +.endif post-patch: @${REINPLACE_CMD} 's|/etc|${PREFIX}/etc|' ${WRKSRC}/cbpadmin diff --git a/mail/policyd2/distinfo b/mail/policyd2/distinfo index ee4ec4d892be..29f3cdbb4455 100644 --- a/mail/policyd2/distinfo +++ b/mail/policyd2/distinfo @@ -1,3 +1,2 @@ -MD5 (cluebringer-2.0.10.tar.gz) = 374eb5b5f7325343defaf185964d421e SHA256 (cluebringer-2.0.10.tar.gz) = be335acb8e282a31a65a3f44de8c0ac0f0ac8f18090e20391b486d6b1efd752b SIZE (cluebringer-2.0.10.tar.gz) = 133110