pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Add debug option.
details: https://anonhg.NetBSD.org/pkgsrc/rev/9c654e632c44
branches: trunk
changeset: 503702:9c654e632c44
user: wiz <wiz%pkgsrc.org@localhost>
date: Fri Nov 25 21:30:17 2005 +0000
description:
Add debug option.
diffstat:
devel/glib2/Makefile | 4 +++-
devel/glib2/options.mk | 10 ++++++++++
x11/gtk2/Makefile | 4 +++-
x11/gtk2/options.mk | 10 ++++++++++
4 files changed, 26 insertions(+), 2 deletions(-)
diffs (64 lines):
diff -r 7a62a0c62271 -r 9c654e632c44 devel/glib2/Makefile
--- a/devel/glib2/Makefile Fri Nov 25 21:23:14 2005 +0000
+++ b/devel/glib2/Makefile Fri Nov 25 21:30:17 2005 +0000
@@ -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+= PERL_PATH=${PERL5}
+.include "options.mk"
+
.include "../../mk/bsd.prefs.mk"
CPPFLAGS+= -DPREFIX="\"${PREFIX}\""
diff -r 7a62a0c62271 -r 9c654e632c44 devel/glib2/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/glib2/options.mk Fri Nov 25 21:30:17 2005 +0000
@@ -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
diff -r 7a62a0c62271 -r 9c654e632c44 x11/gtk2/Makefile
--- a/x11/gtk2/Makefile Fri Nov 25 21:23:14 2005 +0000
+++ b/x11/gtk2/Makefile Fri Nov 25 21:30:17 2005 +0000
@@ -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_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 -r 7a62a0c62271 -r 9c654e632c44 x11/gtk2/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/gtk2/options.mk Fri Nov 25 21:30:17 2005 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index