Subject: pkg/28754: audio/nas fails to build (patch)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: pkgsrc-bugs
Date: 12/22/2004 15:30:00
>Number:         28754
>Category:       pkg
>Synopsis:       audio/nas fails to build (patch)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 22 15:30:00 +0000 2004
>Originator:     Juergen Hannken-Illjes
>Release:        NetBSD 2.0
>Organization:
	
>Environment:
	
	
System: NetBSD watcher 2.0 NetBSD 2.0 (LOCAL) #0: Mon Nov 29 12:47:47 MET 2004 hannken@watcher:/build/nbsd20/obj/sys/arch/i386/compile/LOCAL i386
Architecture: i386
Machine: i386
>Description:
audio/nas from 2004Q4 has a wrong dependency:

	BUILD> audio/nas -- nas-1.7
	Using /proj/pkg/Distfiles//nas-1.7.src.tar.gz
	=> Checksum OK for nas-1.7.src.tar.gz.
	===> Extracting for nas-1.7
	===> Required package p5-perl-headers-2.0: NOT found
	===> Verifying package for ../../devel/p5-perl-headers
	===> Extracting for p5-perl-headers-2.0nb1

It looks for p5-perl-headers-${OS_VERSION} while the package installed is
p5-perl-headers-${OS_VERSION}nb1.
>How-To-Repeat:
cd /usr/pkgsrc/devel/p5-perl-headers && make package
cd /usr/pkgsrc/audio/nas && make package
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/audio/nas/Makefile,v
retrieving revision 1.47
diff -u -2 -r1.47 Makefile
--- Makefile	23 Nov 2004 08:50:23 -0000	1.47
+++ Makefile	22 Dec 2004 15:17:52 -0000
@@ -11,5 +11,5 @@
 COMMENT=	Network Audio System
 
-DEPENDS+=	p5-perl-headers-${OS_VERSION}:../../devel/p5-perl-headers
+DEPENDS+=	p5-perl-headers-${OS_VERSION}{,nb*}:../../devel/p5-perl-headers
 
 PKG_INSTALLATION_TYPES=	overwrite pkgviews

comms/p5-Device-SerialPort may need the same patch.

>Unformatted: