Subject: Re: print/cups package creation fails
To: Jukka Salmi <j+nbsd@2007.salmi.ch>
From: Mark Davies <mark@mcs.vuw.ac.nz>
List: pkgsrc-users
Date: 03/23/2007 00:16:03
On Thursday 22 March 2007, Jukka Salmi wrote:
> since CUPS was updated from 1.2.8 to 1.2.9 creating a package fails
> (at least on a NetBSD/i386 -current system):
Actually it was slightly after the 1.2.9 update.
[...]
> Removing these files from the PLIST makes package creation complete
> successfully, but that's probably not the correct solution. Any
> hints?
Yes this change to the Makefile:
Index: Makefile
===================================================================
RCS file: /src/cvs/netbsd/pkgsrc/print/cups/Makefile,v
retrieving revision 1.118
diff -u -r1.118 Makefile
--- Makefile 19 Mar 2007 14:46:35 -0000 1.118
+++ Makefile 22 Mar 2007 00:39:08 -0000
@@ -38,7 +38,7 @@
AUTOCONF_REQD= 2.60
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-localedir=${PREFIX}/${PKGLOCALEDIR}
+CONFIGURE_ARGS+= --with-localedir=${PREFIX}/${PKGLOCALEDIR}/locale
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR:Q}
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
CONFIGURE_ARGS+= --with-cachedir=${VARBASE:Q}/cache/cups
I'll fix this and update to 1.2.10 shortly.
cheers
mark