Subject: Re: devel/bmake update
To: grant beattie <grant@NetBSD.org>
From: Simon J. Gerraty <sjg@crufty.net>
List: tech-pkg
Date: 05/10/2004 23:36:03
On Tue, 11 May 2004 15:11:19 +1000, grant beattie writes:
>>  do-install:
>> -	${INSTALL_PROGRAM} ${WRKSRC}/bmake ${PREFIX}/bin
>> -	${INSTALL_MAN} ${WRKSRC}/bmake.cat1 ${PREFIX}/man/cat1/bmake.0
>> -	${INSTALL_MAN} ${WRKSRC}/bmake.1 ${PREFIX}/man/man1
>> +	${INSTALL_PROGRAM} ${WRKDIR}/${OPSYS}/bmake ${PREFIX}/bin
>> +	${INSTALL_MAN} ${WRKDIR}/${OPSYS}/bmake.cat1 ${PREFIX}/man/cat1/bmake.0
>> +	${INSTALL_MAN} ${WRKDIR}/${OPSYS}/bmake.1 ${PREFIX}/man/man1
>
>does this assume that bmake's idea of OPSYS is the same as pkgsrc's?

Yes.  boot-strap just uses `uname -s` which appears to be what OPSYS
is set to.

>this isn't always the case, see pkgsrc/bootstrap/bootstrap.

Ah.  Ok, I'll finish the patch I'm working on for boot-strap (to make
it work better for folk who give it args like --src=../bmake etc.)
I'll probably add an arg so pkgsrc could do -o ${OPSYS} to ensure they 
agree on the value.

--sjg