Sourcefile named differently than portname.

Emanuel Haupt ehaupt at FreeBSD.org
Mon Dec 18 13:09:40 PST 2006


> 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?

You can redefine WRKSRC to something like:

WRKSRC=		${WRKDIR}/myport-${PORTVERSION}

Emanuel
-------------- 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/46ef0d7b/attachment.pgp


More information about the freebsd-ports mailing list