Subject: pkg/24728: pkgview for devel/ccache
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <oherrala@ee.oulu.fi>
List: netbsd-bugs
Date: 03/10/2004 14:44:17
>Number:         24728
>Category:       pkg
>Synopsis:       ccache needs to be pkgviews enabled
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 10 12:45:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6ZI
>Organization:
	LCFNet Internet Productions
>Environment:
System: NetBSD txpo.lcfnet.org 1.6ZI NetBSD 1.6ZI (TXPO) #0: Mon Feb 2 21:17:29 EET 2004 oherrala@txpo.lcfnet.org:/usr/src/sys/arch/i386/compile/TXPO i386
Architecture: i386
Machine: i386
>Description:
	The following patch is needed if one wants to build packages from
	pkgsrc with

		PKGSRC_COMPILER= ccache gcc
		PKG_INSTALLATION_PREFS= pkgviews overwrite

>How-To-Repeat:
	Put lines

		PKGSRC_COMPILER= ccache gcc
		PKG_INSTALLATION_PREFS= pkgviews overwrite

	and try building something from pkgsrc.

>Fix:

Apply the following patch:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/ccache/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile    12 Feb 2004 07:11:43 -0000      1.7
+++ Makefile    10 Mar 2004 12:39:25 -0000
@@ -9,6 +9,8 @@
 HOMEPAGE=      http://ccache.samba.org/
 COMMENT=       Cache for C/C++ compilers
 
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
 USE_BUILDLINK3=                yes
 GNU_CONFIGURE=         yes



>Release-Note:
>Audit-Trail:
>Unformatted: