[PATCH] bug in bsd.port.mk

Joe Marcus Clarke marcus at marcuscom.com
Thu Aug 28 09:20:58 PDT 2003


On Thu, 2003-08-28 at 08:36, Mike Bristow wrote:
> There is a small bug in bsd.port.mk, that only affects you if you have
> WRKDIRPREFIX set.  Basically, when installing the port, PKG_ARGS seems
> to be used when the current working directory is
> ${WRKDIRPREFIX}/${.CURDIR}, which means that "make package-depends" is
> run from that directory.  
> 
> Given that there's no Makefile there, this isn't ideal :)
> 
> The attached patch to bsd.port.mk cures the problem for me - can anyone
> spot a problem with it before I send-pr?

This issue was brought to portmgr's attention a few days ago.  I will
test this patch in the next 4-exp build after 4.9 is released.  Please
go ahead and send-pr it so it will be recorded.  Thanks.

Joe

> 
> Cheers,
> Mike
> 
> 
> ______________________________________________________________________
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20030828/19bd8e5b/attachment.bin


More information about the freebsd-ports mailing list