> 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

Attachment: pgp7aetXyRMx6.pgp
Description: PGP signature

Reply via email to