pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mail/opendmarc
Module Name: pkgsrc
Committed By: ryoon
Date: Sun Jan 18 17:00:44 UTC 2026
Modified Files:
pkgsrc/mail/opendmarc: Makefile
Added Files:
pkgsrc/mail/opendmarc: options.mk
Log Message:
mail/opendmarc: Add support of mariaDB as option
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/mail/opendmarc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/opendmarc/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mail/opendmarc/Makefile
diff -u pkgsrc/mail/opendmarc/Makefile:1.34 pkgsrc/mail/opendmarc/Makefile:1.35
--- pkgsrc/mail/opendmarc/Makefile:1.34 Mon Mar 3 20:29:27 2025
+++ pkgsrc/mail/opendmarc/Makefile Sun Jan 18 17:00:44 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2025/03/03 20:29:27 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2026/01/18 17:00:44 ryoon Exp $
DISTNAME= rel-${PKGNAME_NOREV:C/\./-/g}
PKGNAME= opendmarc-1.4.2
@@ -15,10 +15,11 @@ LICENSE= modified-bsd
DEPENDS+= p5-JSON-[0-9]*:../../converters/p5-JSON
DEPENDS+= p5-DBI-[0-9]*:../../databases/p5-DBI
-DEPENDS+= p5-DBD-mysql-[0-9]*:../../databases/p5-DBD-mysql
DEPENDS+= p5-Switch-[0-9]*:../../lang/p5-Switch
DEPENDS+= p5-HTTP-Message-[0-9]*:../../www/p5-HTTP-Message
+.include "options.mk"
+
USE_LIBTOOL= yes
USE_TOOLS+= perl autoconf automake pkg-config
Added files:
Index: pkgsrc/mail/opendmarc/options.mk
diff -u /dev/null pkgsrc/mail/opendmarc/options.mk:1.1
--- /dev/null Sun Jan 18 17:00:44 2026
+++ pkgsrc/mail/opendmarc/options.mk Sun Jan 18 17:00:44 2026
@@ -0,0 +1,19 @@
+# $NetBSD: options.mk,v 1.1 2026/01/18 17:00:44 ryoon Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.opendmarc
+PKG_OPTIONS_REQUIRED_GROUPS= db
+PKG_OPTIONS_GROUP.db= mysql mariadb
+PKG_SUGGESTED_OPTIONS= mysql
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Backend database support
+###
+.if !empty(PKG_OPTIONS:Mmysql)
+DEPENDS+= p5-DBD-mysql-[0-9]*:../../databases/p5-DBD-mysql
+CONFIGURE_ARGS+= --with-sql-backend=mysql
+.elif !empty(PKG_OPTIONS:Mmariadb)
+DEPENDS+= p5-DBD-MariaDB-[0-9]*:../../databases/p5-DBD-MariaDB
+CONFIGURE_ARGS+= --with-sql-backend=MariaDB
+.endif
Home |
Main Index |
Thread Index |
Old Index