Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2006 21:13:15 +0100
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        Beech Rintoul <freebsd@alaskaparadise.com>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: Sourcefile named differently than portname.
Message-ID:  <20061218211315.683c2e11.ehaupt@FreeBSD.org>
In-Reply-To: <200612181029.15021.freebsd@alaskaparadise.com>
References:  <200612181029.15021.freebsd@alaskaparadise.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Mon__18_Dec_2006_21_13_15_+0100_6SA=5RceoVZPSPNr
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

> I'm working on a port upgrade where the sourcefile has a different name f=
rom=20
> the port. For example the port is called myport-6.2 but the distfile is=20
> called myportsrc. I used DISTNAME=3D myportsrc. in the makefile and the s=
ame in=20
> distinfo. It fetches correctly but when it tries to cd to the workfile it=
=20
> uses the port name instead of the DISTNAME and fails. How do I override t=
his?

You can redefine WRKSRC to something like:

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

Emanuel

--Signature=_Mon__18_Dec_2006_21_13_15_+0100_6SA=5RceoVZPSPNr
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFFhvZerVJliFXmd3QRAjG7AKCN89JRY2TZD7OV8iHSGI4s6OXaHwCbBvSA
JSs0Bf5f0Imjy9paV7OjVAQ=
=wZvh
-----END PGP SIGNATURE-----

--Signature=_Mon__18_Dec_2006_21_13_15_+0100_6SA=5RceoVZPSPNr--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061218211315.683c2e11.ehaupt>