summaryrefslogtreecommitdiff
path: root/audio/amarok/options.mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-07-18 06:37:50 +0000
committerwiz <wiz@pkgsrc.org>2006-07-18 06:37:50 +0000
commit135e3e2488ea836ebe1676742b648427e5ea1371 (patch)
tree6f3c92ad78a581657e9ca2182110a2e92b377418 /audio/amarok/options.mk
parentd5d6ed2ae7cac5a7ebe59e8b60587d87e9934dbc (diff)
downloadpkgsrc-135e3e2488ea836ebe1676742b648427e5ea1371.tar.gz
Add optional mysql and postgresql support.
Patch from Christian Gall.
Diffstat (limited to 'audio/amarok/options.mk')
-rw-r--r--audio/amarok/options.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/amarok/options.mk b/audio/amarok/options.mk
new file mode 100644
index 00000000000..2379ee7cc76
--- /dev/null
+++ b/audio/amarok/options.mk
@@ -0,0 +1,16 @@
+# $NetBSD: options.mk,v 1.1 2006/07/18 06:37:50 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.amarok
+PKG_SUPPORTED_OPTIONS= mysql pgsql
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mmysql)
+CONFIGURE_ARGS+= --enable-mysql
+.include "../../mk/mysql.buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mpgsql)
+CONFIGURE_ARGS+= --enable-postgresql
+.include "../../mk/pgsql.buildlink3.mk"
+.endif