pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/perl5 Added a debugging option to the package (di...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2569e7a392c0
branches: trunk
changeset: 519321:2569e7a392c0
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Oct 01 14:48:39 2006 +0000
description:
Added a debugging option to the package (disabled by default).
diffstat:
lang/perl5/Makefile | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r 5adf0972fa33 -r 2569e7a392c0 lang/perl5/Makefile
--- a/lang/perl5/Makefile Sun Oct 01 14:47:43 2006 +0000
+++ b/lang/perl5/Makefile Sun Oct 01 14:48:39 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.121 2006/07/19 18:10:32 jlam Exp $
+# $NetBSD: Makefile,v 1.122 2006/10/01 14:48:39 rillig Exp $
DISTNAME= perl-5.8.8
PKGREVISION= 3
@@ -209,7 +209,7 @@
.endif
PKG_OPTIONS_VAR= PKG_OPTIONS.perl
-PKG_SUPPORTED_OPTIONS= threads
+PKG_SUPPORTED_OPTIONS= debug threads
.if !empty(PERL5_BUILD_THREADS_SUPPORT:M[yY][eE][sS])
PKG_SUGGESTED_OPTIONS= threads
.endif
@@ -225,6 +225,10 @@
CONFIGURE_ARGS+= -Uuseithreads
.endif
+.if !empty(PKG_OPTIONS:Mdebug)
+CFLAGS+= -DDEBUGGING
+.endif
+
.if !empty(LIBSWANTED)
CONFIGURE_ARGS+= -Dlibswanted=${LIBSWANTED:Q}
.endif
Home |
Main Index |
Thread Index |
Old Index