diff options
author | wiz <wiz> | 2006-07-18 06:37:50 +0000 |
---|---|---|
committer | wiz <wiz> | 2006-07-18 06:37:50 +0000 |
commit | 5a7b1e3906a5c8d427e5cd233fdb61c00b2a794d (patch) | |
tree | 6f3c92ad78a581657e9ca2182110a2e92b377418 /audio/amarok | |
parent | 8979d3091bb57cae423fbe5368b9fc2d74f5bf61 (diff) | |
download | pkgsrc-5a7b1e3906a5c8d427e5cd233fdb61c00b2a794d.tar.gz |
Add optional mysql and postgresql support.
Patch from Christian Gall.
Diffstat (limited to 'audio/amarok')
-rw-r--r-- | audio/amarok/Makefile | 4 | ||||
-rw-r--r-- | audio/amarok/options.mk | 16 |
2 files changed, 19 insertions, 1 deletions
diff --git a/audio/amarok/Makefile b/audio/amarok/Makefile index b3fd85921de..04eae2ba22b 100644 --- a/audio/amarok/Makefile +++ b/audio/amarok/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.44 2006/07/12 13:10:56 wiz Exp $ +# $NetBSD: Makefile,v 1.45 2006/07/18 06:37:50 wiz Exp $ DISTNAME= amarok-1.4.1 PKGREVISION= 1 @@ -52,6 +52,8 @@ BUILDLINK_API_DEPENDS.kdebase+= kdebase>=3.3.0 BUILDLINK_API_DEPENDS.kdelibs+= kdelibs>=3.3.0 BUILDLINK_API_DEPENDS.taglib+= taglib>=1.4 +.include "options.mk" + .include "../../audio/libtunepimp0.4/buildlink3.mk" .include "../../audio/libvisual/buildlink3.mk" .include "../../audio/taglib/buildlink3.mk" 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 |