pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/52296: Missing localstatedir in print/cups-filters

>Number:         52296
>Category:       pkg
>Synopsis:       Missing localstatedir in print/cups-filters
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 13 14:40:00 +0000 2017
>Originator:     Edgar FuÃ?
>Release:        pkgsrc-2016Q1
	Mathematisches Institut der Universität Bonn
	cups-browsed (part of print/cups-filters) doesn't find the local CUPS socket because it looks up, e.g. /usr/pkg/var/run/cups/cups.sock instead of /var/run/cups/cups.sock
	More complicated to describe than the fix.
	Provide localstatedir to configure:
	Index: Makefile
	RCS file: /cvsroot/pkgsrc/print/cups-filters/Makefile,v
	retrieving revision 1.43
	diff -u -r1.43 Makefile
	--- Makefile	5 Mar 2016 11:29:16 -0000	1.43
	+++ Makefile	13 Jun 2017 14:31:59 -0000
	@@ -34,6 +34,9 @@
	 .include "../../mk/"
	+CONFIGURE_ARGS+=	--localstatedir=${VARBASE}
	 .if ${INIT_SYSTEM} == "rc.d"
	 CONFIGURE_ARGS+=	--with-rcdir=${PREFIX}/share/examples/rc.d
	 CONFIGURE_ARGS+=	--with-rclevels=""

Home | Main Index | Thread Index | Old Index