Sourcefile named differently than portname.

Beech Rintoul freebsd at alaskaparadise.com
Mon Dec 18 12:14:44 PST 2006


On Monday 18 December 2006 11:05, Brooks Davis wrote:
> 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.

Thanks, That went right by me :-)

Beech

-- 
---------------------------------------------------------------------------------------
Beech Rintoul - Sys. Administrator - beech at alaskaparadise.com
/"\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---------------------------------------------------------------------------------------













More information about the freebsd-ports mailing list