Subject: Re: CVS commit: pkgsrc/mk/bulk
To: <>
From: Dan McMahill <dmcmahill@NetBSD.org>
List: pkgsrc-changes
Date: 02/21/2007 21:05:45
Dan McMahill wrote:
> Roland Illig wrote:
> 
>> Module Name:    pkgsrc
>> Committed By:    rillig
>> Date:        Wed Feb 21 14:25:21 UTC 2007
>>
>> Modified Files:
>>     pkgsrc/mk/bulk: build
>>
>> Log Message:
>> At the very beginning, the variables are extracted by running bmake in
>> the pkglint directory. This part had been more time-consuming than
>> necessary. Now it only needs one call to bmake instead of n.
>>
> 
> this change also reduces the time-consuming step of actually running the 
> bulk build ;)
> 
> +----------------------------------------+
> | Some variables used in the bulk build: |
> +----------------------------------------+
> OPSYS           = SunOS
> OS_VERSION      = 5.9
> MACHINE_ARCH    = sparc
> BULK_PREREQ     = devel/cpuflags pkgtools/xpkgwedge pkgtools/digest
> BULKFILESDIR    = /usr/pkgsrc
> BULK_DBFILE     = /usr/pkgsrc/.bulk_db.mudshark
> DEPENDSFILE     = /usr/pkgsrc/.depends.mudshark
> INDEXFILE       = /usr/pkgsrc/.index.mudshark
> ORDERFILE       = /usr/pkgsrc/.order.mudshark
> STARTFILE       = /usr/pkgsrc/.start.mudshark
> SUPPORTSFILE    = /usr/pkgsrc/.supports.mudshark
> BULK_BUILD_ID_FILE = /usr/pkgsrc/.bulk_build_id
> BUILDLOG        = .make.mudshark
> BROKENFILE      = .broken.mudshark.html
> BROKENWRKLOG    = .broken.mudshark.work.txt
> AWK             = /usr/bin/nawk
> GREP            = /usr/xpg4/bin/grep
> MAIL_CMD        = /usr/bin/mailx
> MKDIR           = /usr/bin/mkdir -p
> PERL5           = /usr/pkg/bin/perl
> SED             = /usr/pkg/bin/nbsed
> PKG_DELETE      = /usr/pkg/sbin/pkg_delete -K /var/db/pkg
> PKG_INFO        = /usr/pkg/sbin/pkg_info -K /var/db/pkg
> PKGBASE         = pkglint
> ------------------------------------------
> ./mk/bulk/build: error:
>     Error reading the variables.
> 
> 
> I think the step where the value is actually assigned to the variable 
> got left out.


I forgot to mention this was solaris-2.9.  Running with ksh instead of 
sh makes it work.

-Dan