Subject: pkg/29278: PATCH xfce4-print -- allow to build cups support
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <pitkali@interia.pl>
List: pkgsrc-bugs
Date: 02/07/2005 23:20:00
>Number: 29278
>Category: pkg
>Synopsis: PATCH xfce4-print -- allow to build cups support
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Feb 07 23:20:00 +0000 2005
>Originator: Piotr Kalinowski
>Release: NetBSD 2.0_STABLE
>Organization:
Wroclaw University of Technology
>Environment:
NetBSD centauri.30.lan.polhost.pl 2.0_STABLE NetBSD 2.0_STABLE (KALI) #2: Sun Jan 30 16:14:54 CET 2005 pitkali@centauri.30.lan.polhost.pl:/usr/src/sys/arch/i386/compile/KALI i386
>Description:
xfprint does support CUPS, but the package uses buildlink, so cups' buildlink3 has to be included explicitly for configure to detect the presence of cups, which is not done currently. The effect: no cups support.
>How-To-Repeat:
>Fix:
Here's the patch for the Makefile:
--- Makefile.orig 2005-02-08 00:11:57.000000000 +0100
+++ Makefile 2005-02-08 00:10:47.000000000 +0100
@@ -8,5 +8,10 @@
COMMENT= XFce4 print dialog
.include "../../print/a2ps/buildlink3.mk"
+
+.if defined(USE_CUPS)
+.include "../../print/cups/buildlink3.mk"
+.endif
+
.include "../../x11/xfce4-mcs-plugins/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"