diff options
author | wiz <wiz> | 2005-11-25 21:30:17 +0000 |
---|---|---|
committer | wiz <wiz> | 2005-11-25 21:30:17 +0000 |
commit | aed16e3695f50b83e582cbefd47bdce5f904000c (patch) | |
tree | 9d3461f20a1fbd4f8497b169ba0b6bfbc534b320 /devel/glib2 | |
parent | e1ec97731fe8003eb151c6d2790024c1e87f16eb (diff) | |
download | pkgsrc-aed16e3695f50b83e582cbefd47bdce5f904000c.tar.gz |
Add debug option.
Diffstat (limited to 'devel/glib2')
-rw-r--r-- | devel/glib2/Makefile | 4 | ||||
-rw-r--r-- | devel/glib2/options.mk | 10 |
2 files changed, 13 insertions, 1 deletions
diff --git a/devel/glib2/Makefile b/devel/glib2/Makefile index 31684590970..599e003dc5b 100644 --- a/devel/glib2/Makefile +++ b/devel/glib2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.84 2005/11/20 16:40:02 wiz Exp $ +# $NetBSD: Makefile,v 1.85 2005/11/25 21:30:17 wiz Exp $ DISTNAME= glib-2.8.4 PKGNAME= ${DISTNAME:S/glib/glib2/} @@ -47,6 +47,8 @@ CONFIGURE_ENV+= F77=${FALSE} CONFIGURE_ENV+= PERL_PATH=${PERL5} +.include "options.mk" + .include "../../mk/bsd.prefs.mk" CPPFLAGS+= -DPREFIX="\"${PREFIX}\"" diff --git a/devel/glib2/options.mk b/devel/glib2/options.mk new file mode 100644 index 00000000000..67af8a469c5 --- /dev/null +++ b/devel/glib2/options.mk @@ -0,0 +1,10 @@ +# $NetBSD: options.mk,v 1.1 2005/11/25 21:30:17 wiz Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.glib2 +PKG_SUPPORTED_OPTIONS= debug + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mdebug) +CONFIGURE_ARGS+= --enable-debug=yes +.endif |