Subject: pkg/36863: mk/emulator/netbsd-compat.mk syntax problem on NetBSD 3 ?
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 08/30/2007 09:50:00
>Number:         36863
>Category:       pkg
>Synopsis:       mk/emulator/netbsd-compat.mk syntax problem on NetBSD 3 ?
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 30 09:50:00 +0000 2007
>Originator:     Robert Elz
>Release:        NetBSD 3.99.15  (pkgsrc current within past few hours)
>Organization:
	Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 3.99.15 NetBSD 3.99.15 (GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 kre@jade.coe.psu.ac.th:/usr/obj/current/kernels/JADE_ASUS i386
Architecture: i386
Machine: i386
>Description:
	Recent changes to the netbsd-compat stuff (and EMUL_DIST maybe)
	have resulted in lintpkgsrc (on a NetBSD 3.0 system)
	generating messages like ...

/usr/pkgsrc/emulators/compat12/Makefile: Cannot locate /usr/pkgsrc/emulators/${DISTNAME:C/-.*//}/emulator.mk in . /usr/pkgsrc/emulators/compat12 /usr/pkgsrc/emulators/compat_netbsd

	Each of the emulators/compat* packages is doing that.

>How-To-Repeat:
	Try lintpkgsrc -p on a NetBSD 3.0 sysyem (I'm using pkg_comp
	with libkver and the original 3.0 sets installed to simulate that)
	and just watch.

>Fix:
	?

	Random guess is that perhaps something is relying upon some
	make behaviour that didn't exist (or work) in NetBSD 3.0