summaryrefslogtreecommitdiff
path: root/print/cups/options.mk
diff options
context:
space:
mode:
authorsbd <sbd>2010-05-20 09:35:58 +0000
committersbd <sbd>2010-05-20 09:35:58 +0000
commit8dd699db3b52c29acaa69a1ed76bb6c3865d5fd8 (patch)
tree77e7d549592ed00bf5825d59a9f8cfbf696e7b53 /print/cups/options.mk
parentab93253c30abb16d285263a24ec9203dadc05b29 (diff)
downloadpkgsrc-8dd699db3b52c29acaa69a1ed76bb6c3865d5fd8.tar.gz
Cleanup of the Makefile and options.mk:
* Remove unneeded ${VARS} variable. * add a blank line after PKGREVISON for readability. * remove unneeded --with-rcdir and --enable-gnutls=no from CONFIGURE_ARGS. * reorder part of CONFIGURE_ARGS for a little more readability. * explicitly enable jpeg/png/tiff. * change a LOCALBASE reference to PREFIX (pkglint warning). * remove write permission from a set-uid program (checkperms warning). * add "set -e" in front of shell for loops (pkglint warning) * explicitly enable/disable dnssd and gssapi in options.
Diffstat (limited to 'print/cups/options.mk')
-rw-r--r--print/cups/options.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/print/cups/options.mk b/print/cups/options.mk
index 070285f84b1..4ce4244b5cc 100644
--- a/print/cups/options.mk
+++ b/print/cups/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.4 2010/04/18 12:02:58 obache Exp $
+# $NetBSD: options.mk,v 1.5 2010/05/20 09:35:58 sbd Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.cups
PKG_OPTIONS_REQUIRED_GROUPS= pdftops
@@ -11,6 +11,9 @@ PKG_OPTIONS_LEGACY_OPTS+= xpdf:poppler gs:ghostscript
.if !empty(PKG_OPTIONS:Mdnssd)
.include "../../net/mDNSResponder/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-dnssd
+.else
+CONFIGURE_ARGS+= --disable-dnssd
.endif
.if !empty(PKG_OPTIONS:Mghostscript)
@@ -21,6 +24,7 @@ CONFIGURE_ENV+= ac_cv_path_CUPS_GHOSTSCRIPT=${TOOLS_PATH.gs}
.if !empty(PKG_OPTIONS:Mkerberos)
.include "../../mk/krb5.buildlink3.mk"
+CONFIGURE_ARGS+= --enable-gssapi
.else
CONFIGURE_ARGS+= --disable-gssapi
.endif