pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/ghostscript Add debug option.
details: https://anonhg.NetBSD.org/pkgsrc/rev/f9a4b3614ade
branches: trunk
changeset: 398563:f9a4b3614ade
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Sep 02 15:56:03 2009 +0000
description:
Add debug option.
diffstat:
print/ghostscript/Makefile | 3 +--
print/ghostscript/options.mk | 8 ++++++--
2 files changed, 7 insertions(+), 4 deletions(-)
diffs (41 lines):
diff -r 4a94597c9870 -r f9a4b3614ade print/ghostscript/Makefile
--- a/print/ghostscript/Makefile Wed Sep 02 15:55:08 2009 +0000
+++ b/print/ghostscript/Makefile Wed Sep 02 15:56:03 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.65 2009/09/02 15:55:08 wiz Exp $
+# $NetBSD: Makefile,v 1.66 2009/09/02 15:56:03 wiz Exp $
DISTNAME= ghostscript-8.70
CATEGORIES= print
@@ -19,7 +19,6 @@
USE_TOOLS+= gmake perl:run lex pkg-config
GNU_CONFIGURE= yes
-#CONFIGURE_ARGS+= --enable-debug
MAKE_JOBS_SAFE= no
UNLIMIT_RESOURCES+= datasize # gsromfs1.c
diff -r 4a94597c9870 -r f9a4b3614ade print/ghostscript/options.mk
--- a/print/ghostscript/options.mk Wed Sep 02 15:55:08 2009 +0000
+++ b/print/ghostscript/options.mk Wed Sep 02 15:56:03 2009 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.8 2008/09/03 21:31:12 markd Exp $
+# $NetBSD: options.mk,v 1.9 2009/09/02 15:56:03 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ghostscript
-PKG_SUPPORTED_OPTIONS= x11 cups fontconfig
+PKG_SUPPORTED_OPTIONS= x11 cups debug fontconfig
PKG_SUGGESTED_OPTIONS= x11 fontconfig
.include "../../mk/bsd.options.mk"
@@ -36,6 +36,10 @@
CONFIGURE_ARGS+= --disable-cups
.endif
+.if !empty(PKG_OPTIONS:Mdebug)
+CONFIGURE_ARGS+= --enable-debug
+.endif
+
.if !empty(PKG_OPTIONS:Mfontconfig)
.include "../../fonts/fontconfig/buildlink3.mk"
.else
Home |
Main Index |
Thread Index |
Old Index