Subject: pkg/31038: indirect inclusion of is broken
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 08/22/2005 08:22:00
>Number:         31038
>Category:       pkg
>Synopsis:       indirect inclusion of is broken
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 22 08:22:00 +0000 2005
>Originator:     Kouichirou Hiratsuka
>Release:        NetBSD 3.99.8
System: NetBSD firefly.localdomain 3.99.8 NetBSD 3.99.8 (PBG4) #72: Sun Aug 21 13:10:17 JST 2005 root@firefly.localdomain:/work/NetBSD/src/sys/arch/macppc/compile/PBG4 macppc
Architecture: powerpc
Machine: macppc
	If package indirectly includes mk/, some files are not read.  For example, x11/randrext:

# cd /usr/pkgsrc/x11/randrext
# grep Makefile
xorg-libs xextensions fontconfig iconv zlib freetype2 expat
# make show-var VARNAME=BUILDLINK_BUILTIN_MK.xextensions

# make show-var VARNAME=IS_BUILTIN.zlib


	This package indirectly includes mk/ via
	x11/xextensions/  And this adds inclusions of files of zlib, fontconfig, etc.  However,
	these BUILDLINK_BUILTIN_MK are not defined.

	If the package is added to BUILDLINK_PACKAGES,
	BUILDLINK_BUILTIN_MK.${package} should be defined at line
	108 of mk/buildlink3/  It's too late to
	include the files.