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.
This commit is contained in:
parent
ab65b35481
commit
f98352d8a4
5 changed files with 29 additions and 3 deletions
|
@ -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 \
|
||||
|
|
|
@ -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}
|
||||
|
|
11
sysutils/gamin/options.mk
Normal file
11
sysutils/gamin/options.mk
Normal file
|
@ -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
|
|
@ -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"
|
||||
|
|
11
sysutils/libgamin/options.mk
Normal file
11
sysutils/libgamin/options.mk
Normal file
|
@ -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
|
Loading…
Reference in a new issue