Subject: Re: pkg/35108
To: None <,,,>
From: Simon Gerraty <>
List: pkgsrc-bugs
Date: 11/29/2006 04:25:03
The following reply was made to PR pkg/35108; it has been noted by GNATS.

From: Simon Gerraty <>
To: OBATA Akio <>
Subject: Re: pkg/35108 
Date: Tue, 28 Nov 2006 19:04:17 -0800

 >Because current pkgsrc's bmake have a bug to read _ALL_ mk files in mksyspath,
 >so except ${PREFIX}/share/mk has been removed from mksyspath.
 >If set makesyspath=${PREFIX}/share/mk:/usr/share/mk and those two directores
 >have same name files, unexpected trouble may be occured.
 >>  --- Makefile.orig	2006-11-25 12:59:04.000000000 +0000
 >>  +++ Makefile	2006-11-25 14:37:51.000000000 +0000
 >>  @@ -18,7 +18,14 @@
 >>   NO_CHECKSUM=	yes
 >>   NO_MTREE=	yes
 >>  +.include "../../mk/"
 >>  +
 >>  +.if ${OPSYS:MNetBSD}
 >>  +makesyspath=	${PREFIX}/share/mk:/usr/share/mk
 >>  +.else
 >>   makesyspath=	${PREFIX}/share/mk
 >>  +.endif
 >>  +
 >Why not simply add following line to depend on mk-files?
 >DEPENDS+=	mk-files-[0-9]*:../devel/mk-files
 Because those mk-files are potentially way out of date for netbsd.
 Best bet would be to update bmake in pkgsrc to a later version that
 doesn't have this issue.
 The switch from the original pkgsrc bootstrap bmake to importing the
 source into devel/bmake/files was to avoid the hassles caused by pkgsrc
 having a bmake that was several years out of date.
 The version in devel/bmake is currently 20051105, that's a year old.