Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2004 03:29:32 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Maxim Sobolev <sobomax@FreeBSD.org>
Cc:        ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/net/asterisk Makefile
Message-ID:  <20040219112932.GA11187@xor.obsecurity.org>
In-Reply-To: <200402191122.i1JBMdHd026435@repoman.freebsd.org>
References:  <200402191122.i1JBMdHd026435@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--G4iJoqBmSsgzjUCe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Feb 19, 2004 at 03:22:39AM -0800, Maxim Sobolev wrote:
> sobomax     2004/02/19 03:22:39 PST
>=20
>   FreeBSD ports repository
>=20
>   Modified files:
>     net/asterisk         Makefile=20
>   Log:
>   Replace '${WRKDIRPREFIX}${PORTSDIR}/' with '${WRKDIR}/../../../' when
>   reffering other ports, since the former for some reason doesn't work
>   in bento environment (it works here just fine even with WRKDIRPREFIX
>   set).
>  =20
>   BTW, this is good evidence which shows that breakage on bento isn't
>   sufficient to mark port as BROKEN.

It exposed your incorrect assumption and made you fix it, didn't it?
;-)

You were bitten by the fact that bento (deliberately) builds ports in
/a/ports, with /usr/ports a symlink to this directory.  In other
words, in legitimate environments, ${PORTSDIR} may not be equal to
${.CURDIR} even though both reference the same directory.

Kris

--G4iJoqBmSsgzjUCe
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFANJ4bWry0BWjoQKURAuJFAKCIkWXd/PEI4mGV8R7wzm7yBnGF3gCfYfuJ
zhi6Piy/pSHVtY7qV8XGynk=
=P83K
-----END PGP SIGNATURE-----

--G4iJoqBmSsgzjUCe--



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