Subject: pkg/18362: of audio/arts requires
To: None <>
From: Julio Merino <>
List: netbsd-bugs
Date: 09/21/2002 16:19:11
>Number:         18362
>Category:       pkg
>Synopsis: of audio/arts requires
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 21 07:19:00 PDT 2002
>Originator:     Julio Merino
>Release:        NetBSD 1.6H
System: NetBSD darkstar.local 1.6H NetBSD 1.6H (DARKSTAR) #16: Fri Sep 20 11:10:50 CEST 2002 jmmv@darkstar.local:/var/build/kernel/DARKSTAR i386
Architecture: i386
Machine: i386
	The file of audio/arts uses the variable ${GREP}
	which, depending on the package beeing built, may be defined or not.
	If it is not defined, weird things happen.

	In order to get this working properly, the file
	must include before using the variable. If not, the
	package maintainer who wants to use this file has to
	do this inclusion; this behavior is not wanted, though.
	Create a package that includes the audio/arts/ file,
	without including by hand. When issuing `make', you
	get the following:

^\(include\|lib\): not found
make: "/mass/sources/pkgsrc/misc/navigatrix/../../audio/arts/" line 12: warning: " "^\(include\|lib\)" /mass/sources/pkgsrc/misc/navigatrix/../../audio/arts/PLIST" returned non-zero status
	This small fix should solve the problem:

RCS file: /cvsroot/pkgsrc/audio/arts/,v
retrieving revision 1.2
diff -u -u -r1.2
---	2002/08/25 19:21:43	1.2
+++	2002/09/21 14:14:02
@@ -7,6 +7,8 @@
 BUILDLINK_DEPENDS.arts?=	arts>=1.0.0
 BUILDLINK_PKGSRCDIR.arts?=	../../audio/arts
+.include "../../mk/"
 BUILDLINK_FILES.arts!=	${GREP} "^\(include\|lib\)" ${.CURDIR}/../../audio/arts/PLIST