diff options
author | hira <hira@pkgsrc.org> | 2005-08-31 15:23:09 +0000 |
---|---|---|
committer | hira <hira@pkgsrc.org> | 2005-08-31 15:23:09 +0000 |
commit | 2239f2a86743991cc1220b397aa7b3f044449b5c (patch) | |
tree | c0570a7aeff6100d50de66bc8022224550a5f4d8 /x11 | |
parent | 20632ca1d6f848330251e4ebe02d6d56fc33207e (diff) | |
download | pkgsrc-2239f2a86743991cc1220b397aa7b3f044449b5c.tar.gz |
Make dbh configurable via options framework.
OK'd by maintainer.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xfce4-utils/Makefile | 4 | ||||
-rw-r--r-- | x11/xfce4-utils/options.mk | 13 |
2 files changed, 16 insertions, 1 deletions
diff --git a/x11/xfce4-utils/Makefile b/x11/xfce4-utils/Makefile index 1ee711ffc14..7192c4b4e8c 100644 --- a/x11/xfce4-utils/Makefile +++ b/x11/xfce4-utils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2005/08/20 19:16:23 jlam Exp $ +# $NetBSD: Makefile,v 1.15 2005/08/31 15:23:09 hira Exp $ .include "../../meta-pkgs/xfce4/Makefile.common" @@ -18,5 +18,7 @@ REQD_DIRS+= ${EGDIR} CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE} +.include "options.mk" + .include "../../x11/xfce4-mcs-plugins/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/x11/xfce4-utils/options.mk b/x11/xfce4-utils/options.mk new file mode 100644 index 00000000000..f44475048a5 --- /dev/null +++ b/x11/xfce4-utils/options.mk @@ -0,0 +1,13 @@ +# $NetBSD: options.mk,v 1.1 2005/08/31 15:23:09 hira Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.xfce4-utils +PKG_SUPPORTED_OPTIONS= dbh +PKG_SUGGESTED_OPTIONS= dbh + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mdbh) +CONFIGURE_ARGS+= --enable-dbh +.else +CONFIGURE_ARGS+= --disable-dbh +.endif |