diff options
author | wiz <wiz@pkgsrc.org> | 2009-09-02 15:56:03 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2009-09-02 15:56:03 +0000 |
commit | 4a833ad15f3124059cc18fc910a83464577680ce (patch) | |
tree | f4a6eba44036241ae335adcc281c4a9132e4d7fa /print | |
parent | b2523fd6ee062ec53cf7f3abd799b5683952b47d (diff) | |
download | pkgsrc-4a833ad15f3124059cc18fc910a83464577680ce.tar.gz |
Add debug option.
Diffstat (limited to 'print')
-rw-r--r-- | print/ghostscript/Makefile | 3 | ||||
-rw-r--r-- | print/ghostscript/options.mk | 8 |
2 files changed, 7 insertions, 4 deletions
diff --git a/print/ghostscript/Makefile b/print/ghostscript/Makefile index a9b76e9a3dc..64338f014b6 100644 --- a/print/ghostscript/Makefile +++ b/print/ghostscript/Makefile @@ -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 @@ DEPENDS+= ghostscript-fonts>=6.0:../../fonts/ghostscript-fonts 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 --git a/print/ghostscript/options.mk b/print/ghostscript/options.mk index e10fb8891b9..c93c253b70e 100644 --- a/print/ghostscript/options.mk +++ b/print/ghostscript/options.mk @@ -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 @@ SUBST_SED.cupsetc= -e 's|$$(CUPSSERVERROOT)|${CUPS_EGDIR}|g' 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 |