CVS commit: pkgsrc/print/cups-base

"Thomas Klausner" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <[email protected]>
Module Name:	pkgsrc
Committed By:	wiz
Date:		Mon Jul 27 18:50:17 UTC 2026

Modified Files:
	pkgsrc/print/cups-base: options.mk

Log Message:
cups-base: add debug option

From Edgar Fuß.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/print/cups-base/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed) (text/x-diff, 917 B)
Modified files:

Index: pkgsrc/print/cups-base/options.mk
diff -u pkgsrc/print/cups-base/options.mk:1.8 pkgsrc/print/cups-base/options.mk:1.9
--- pkgsrc/print/cups-base/options.mk:1.8	Wed Nov 16 16:24:36 2022
+++ pkgsrc/print/cups-base/options.mk	Mon Jul 27 18:50:17 2026
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.8 2022/11/16 16:24:36 hauke Exp $
+# $NetBSD: options.mk,v 1.9 2026/07/27 18:50:17 wiz Exp $
 
 PKG_OPTIONS_VAR=		PKG_OPTIONS.cups-base
-PKG_SUPPORTED_OPTIONS=		acl kerberos pam tcpwrappers
-PKG_SUGGESTED_OPTIONS=		dnssd kerberos
+PKG_SUPPORTED_OPTIONS=		acl kerberos pam tcpwrappers debug
+PKG_SUGGESTED_OPTIONS=		debug dnssd kerberos
 
 PKG_OPTIONS_OPTIONAL_GROUPS=	mdns
 PKG_OPTIONS_GROUP.mdns=		dnssd
@@ -99,3 +99,7 @@ CONFIGURE_ARGS+=	--enable-tcp-wrappers
 .else
 CONFIGURE_ARGS+=	--disable-tcp-wrappers
 .endif
+
+.if !empty(PKG_OPTIONS:Mdebug)
+CONFIGURE_ARGS+=	--enable-debug-printfs
+.endif
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.