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/gamin | |
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/gamin')
-rw-r--r-- | sysutils/gamin/Makefile | 4 | ||||
-rw-r--r-- | sysutils/gamin/Makefile.common | 3 | ||||
-rw-r--r-- | sysutils/gamin/options.mk | 11 |
3 files changed, 16 insertions, 2 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 |