Sourcefile named differently than portname.

Brooks Davis brooks at one-eyed-alien.net
Mon Dec 18 12:41:13 PST 2006


On Mon, Dec 18, 2006 at 10:35:09AM -0900, Beech Rintoul wrote:
> I'm working on a port upgrade where the sourcefile has a different name from 
> the port. For example the port is called myport-6.2 but the distfile is 
> called myportsrc. I used DISTNAME= myportsrc. in the makefile and the same in 
> distinfo. It fetches correctly but when it tries to cd to the workfile it 
> uses the port name instead of the DISTNAME and fails. How do I override this?

Set WRKSRC to ${WRKDIR}/${DISTNAME} or what ever is appropriate.

-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20061218/5cc26d7e/attachment.pgp


More information about the freebsd-ports mailing list