diff options
author | jmmv <jmmv@pkgsrc.org> | 2010-04-18 18:22:43 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2010-04-18 18:22:43 +0000 |
commit | f98352d8a49e9b25d3a6629fa2ca2593ea5f4120 (patch) | |
tree | d0e4ec94a19d7e63a578fad936358acc61a1fff6 /sysutils | |
parent | ab65b35481112300e0ef98193e72ccc3218683c1 (diff) | |
download | pkgsrc-f98352d8a49e9b25d3a6629fa2ca2593ea5f4120.tar.gz |
Add support for the debug option to the libgamin and gamin packages.
This is off by default so no need to bump the revision numbers.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/gamin/Makefile | 4 | ||||
-rw-r--r-- | sysutils/gamin/Makefile.common | 3 | ||||
-rw-r--r-- | sysutils/gamin/options.mk | 11 | ||||
-rw-r--r-- | sysutils/libgamin/Makefile | 3 | ||||
-rw-r--r-- | sysutils/libgamin/options.mk | 11 |
5 files changed, 29 insertions, 3 deletions
diff --git a/sysutils/gamin/Makefile b/sysutils/gamin/Makefile index 3ec88f3c93d..172144ff980 100644 --- a/sysutils/gamin/Makefile +++ b/sysutils/gamin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2010/04/16 22:32:14 jmmv Exp $ +# $NetBSD: Makefile,v 1.17 2010/04/18 18:22:43 jmmv Exp $ .include "../../sysutils/gamin/Makefile.common" @@ -7,6 +7,8 @@ CONFIGURE_ARGS+= --enable-server TEST_TARGET= check +.include "options.mk" + do-install: ${INSTALL_LIB_DIR} ${DESTDIR}${PREFIX}/libexec ${INSTALL_LIB} ${WRKSRC}/server/gam_server \ diff --git a/sysutils/gamin/Makefile.common b/sysutils/gamin/Makefile.common index 5348966a5a3..1d620157329 100644 --- a/sysutils/gamin/Makefile.common +++ b/sysutils/gamin/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.3 2009/03/17 22:31:10 asau Exp $ +# $NetBSD: Makefile.common,v 1.4 2010/04/18 18:22:43 jmmv Exp $ # # used by sysutils/gamin/Makefile # used by sysutils/libgamin/Makefile @@ -21,6 +21,7 @@ USE_LIBTOOL= yes USE_TOOLS+= pkg-config GNU_CONFIGURE= yes CONFIGURE_ARGS+= --disable-debug +CONFIGURE_ARGS+= --disable-debug-api CONFIGURE_ARGS+= --disable-gtk-doc CONFIGURE_ARGS+= --without-threads CONFIGURE_ARGS+= --with-html-dir=${DOCDIR:Q} diff --git a/sysutils/gamin/options.mk b/sysutils/gamin/options.mk new file mode 100644 index 00000000000..f31c488c2f2 --- /dev/null +++ b/sysutils/gamin/options.mk @@ -0,0 +1,11 @@ +# $NetBSD: options.mk,v 1.1 2010/04/18 18:22:43 jmmv Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.gamin +PKG_SUPPORTED_OPTIONS= debug + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mdebug) +CONFIGURE_ARGS+= --enable-debug +CONFIGURE_ARGS+= --enable-debug-api +.endif diff --git a/sysutils/libgamin/Makefile b/sysutils/libgamin/Makefile index 008c2de2866..365767908f0 100644 --- a/sysutils/libgamin/Makefile +++ b/sysutils/libgamin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2009/03/17 13:34:06 jmcneill Exp $ +# $NetBSD: Makefile,v 1.4 2010/04/18 18:22:43 jmmv Exp $ .include "../../sysutils/gamin/Makefile.common" PKGNAME= ${DISTNAME:S/^gamin/lib&/} @@ -13,6 +13,7 @@ post-install: ${INSTALL_DATA} $$file ${DESTDIR}${DOCDIR}/$$file; \ done +.include "options.mk" .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "Darwin" diff --git a/sysutils/libgamin/options.mk b/sysutils/libgamin/options.mk new file mode 100644 index 00000000000..1e62ddbad08 --- /dev/null +++ b/sysutils/libgamin/options.mk @@ -0,0 +1,11 @@ +# $NetBSD: options.mk,v 1.1 2010/04/18 18:22:43 jmmv Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.libgamin +PKG_SUPPORTED_OPTIONS= debug + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mdebug) +CONFIGURE_ARGS+= --enable-debug +CONFIGURE_ARGS+= --enable-debug-api +.endif |