Subject: Re: bmaking readme Fails on OS X.2.6
To: None <maccult@pacbell.net>
From: Yuji Yamano <yyamano@kt.rim.or.jp>
List: tech-pkg
Date: 09/20/2003 16:31:15
Randy Beaudreault <maccult@pacbell.net> writes:
> [the-beast:/Volumes/NetBSD/pkgsrc] maccult% bmake readme
> Starting README.html generation: Fri Sep 19 12:38:37 PDT 2003
>
> Extracting configuration variables:
>
> Makefile:25: *** missing separator. Stop.
> Error: make show-var VARNAME=DISTDIR in
> /Volumes/NetBSD/pkgsrc/pkgtools/pkglint
Could you try the patch?
Index: mkreadme
===================================================================
RCS file: /cvsroot/pkgsrc/mk/scripts/mkreadme,v
retrieving revision 1.3
diff -u -u -r1.3 mkreadme
--- mkreadme 2003/05/06 17:42:05 1.3
+++ mkreadme 2003/09/20 07:21:25
@@ -255,7 +255,7 @@
for v in DISTDIR PACKAGES PKGREPOSITORYSUBDIR PKG_SUFX MACHINE_ARCH PKG_URL OPSYS OS_VERSION FTP_PKG_URL_HOST FTP_PKG_URL_DIR CDROM_PKG_URL_HOST CDROM_PKG_URL_DIR
do
- val=`make show-var VARNAME=${v}`
+ val=`${BMAKE} show-var VARNAME=${v}`
if [ $? != 0 ]; then
echo "Error: make show-var VARNAME=${v} in `pwd` "
echo "Failed. This is a fatal error"
--
Yuji Yamano <yyamano@kt.rim.or.jp>
The music spread everywhere. In the mouth. In the armpits. In the crotch.
The music a way of flying up and flying past. --Susan Sontag