pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils Add support for the debug option to the libga...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/be0a76d12c71
branches:  trunk
changeset: 574523:be0a76d12c71
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Sun Apr 18 18:22:43 2010 +0000

description:
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:

 sysutils/gamin/Makefile        |   4 +++-
 sysutils/gamin/Makefile.common |   3 ++-
 sysutils/gamin/options.mk      |  11 +++++++++++
 sysutils/libgamin/Makefile     |   3 ++-
 sysutils/libgamin/options.mk   |  11 +++++++++++
 5 files changed, 29 insertions(+), 3 deletions(-)

diffs (82 lines):

diff -r c6558ec848a2 -r be0a76d12c71 sysutils/gamin/Makefile
--- a/sysutils/gamin/Makefile   Sun Apr 18 17:23:16 2010 +0000
+++ b/sysutils/gamin/Makefile   Sun Apr 18 18:22:43 2010 +0000
@@ -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 @@
 
 TEST_TARGET=           check
 
+.include "options.mk"
+
 do-install:
        ${INSTALL_LIB_DIR} ${DESTDIR}${PREFIX}/libexec
        ${INSTALL_LIB} ${WRKSRC}/server/gam_server \
diff -r c6558ec848a2 -r be0a76d12c71 sysutils/gamin/Makefile.common
--- a/sysutils/gamin/Makefile.common    Sun Apr 18 17:23:16 2010 +0000
+++ b/sysutils/gamin/Makefile.common    Sun Apr 18 18:22:43 2010 +0000
@@ -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_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 -r c6558ec848a2 -r be0a76d12c71 sysutils/gamin/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/gamin/options.mk Sun Apr 18 18:22:43 2010 +0000
@@ -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 -r c6558ec848a2 -r be0a76d12c71 sysutils/libgamin/Makefile
--- a/sysutils/libgamin/Makefile        Sun Apr 18 17:23:16 2010 +0000
+++ b/sysutils/libgamin/Makefile        Sun Apr 18 18:22:43 2010 +0000
@@ -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 @@
                ${INSTALL_DATA} $$file ${DESTDIR}${DOCDIR}/$$file;      \
        done
 
+.include "options.mk"
 .include "../../mk/bsd.prefs.mk"
 
 .if ${OPSYS} == "Darwin"
diff -r c6558ec848a2 -r be0a76d12c71 sysutils/libgamin/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libgamin/options.mk      Sun Apr 18 18:22:43 2010 +0000
@@ -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



Home | Main Index | Thread Index | Old Index