diff options
author | wiz <wiz@pkgsrc.org> | 2005-11-25 21:30:17 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-11-25 21:30:17 +0000 |
commit | caa5734d59e3b4244c85321615e4971b6f9129a3 (patch) | |
tree | 9d3461f20a1fbd4f8497b169ba0b6bfbc534b320 /x11 | |
parent | 321a09857ae885c5b2980ae3decd7432e79b8846 (diff) | |
download | pkgsrc-caa5734d59e3b4244c85321615e4971b6f9129a3.tar.gz |
Add debug option.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gtk2/Makefile | 4 | ||||
-rw-r--r-- | x11/gtk2/options.mk | 10 |
2 files changed, 13 insertions, 1 deletions
diff --git a/x11/gtk2/Makefile b/x11/gtk2/Makefile index 686d27157db..1ebffd250e3 100644 --- a/x11/gtk2/Makefile +++ b/x11/gtk2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.97 2005/11/20 16:50:19 wiz Exp $ +# $NetBSD: Makefile,v 1.98 2005/11/25 21:31:06 wiz Exp $ # DISTNAME= gtk+-2.8.7 @@ -64,6 +64,8 @@ SUBST_MESSAGE.pthread= "Fixing pthread flags." SUBST_SED.pthread= -e 's,__PTHREAD_FLAGS__,${BUILDLINK_LDFLAGS.pthread},g' SUBST_FILES.pthread= gdk-pixbuf/Makefile.in +.include "options.mk" + .include "../../mk/compiler.mk" .if ${OPSYS} == "IRIX" && !empty(CC_VERSION:Mgcc*) diff --git a/x11/gtk2/options.mk b/x11/gtk2/options.mk new file mode 100644 index 00000000000..04c1590ae0b --- /dev/null +++ b/x11/gtk2/options.mk @@ -0,0 +1,10 @@ +# $NetBSD: options.mk,v 1.1 2005/11/25 21:31:06 wiz Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.gtk2+ +PKG_SUPPORTED_OPTIONS= debug + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mdebug) +CONFIGURE_ARGS+= --enable-debug=yes +.endif |