Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2012 01:47:04 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        Steven Harris <steve@zarvon.com>
Cc:        freebsd-ports-bugs@freebsd.org
Subject:   Re: Possible unzip dependency bug with a PREFIX set
Message-ID:  <50D3BF98.6050202@FreeBSD.org>
In-Reply-To: <CAEzWBxDxc6m=JD64Q1vL9TAXDApPMTzmZdtg88C7T17wc3W63g@mail.gmail.com>
References:  <CAEzWBxDxc6m=JD64Q1vL9TAXDApPMTzmZdtg88C7T17wc3W63g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig3CC89E1778B245B40F92FDB2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 21/12/2012 01:25, Steven Harris wrote:
> One a clean install of FreeBSD, i wanted to install openjdk7 into
> /share/local (which is later exported through NFS).
>=20
> Installing other ports (apache, php etc) works perfect, but openjdk7 re=
lied
> on unzip.   So as a dependency, it installed unzip from ports, but beca=
use
> of my PREFIX setting, put it in /share/local/bin/unzip
>=20
> Then after returning to openjdk, it was specifically looking in
> /usr/local/bin for unzip.

This is normal.  The ports system looks for whatever it needs to install
a port under ${LOCALBASE}/ and it will install the port to ${PREFIX}/

Usually, ${LOCALBASE} and ${PREFIX} are set to the same value:
/usr/local.  Having them set to *different* values only works for
installing the one single port at the tip of the dependency tree: it's
handy for port maintainers to test the port with, but not a lot else.
Things get very ugly very quickly if you try and install
port+dependencies without ${LOCALBASE} =3D=3D ${PREFIX}.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey



--------------enig3CC89E1778B245B40F92FDB2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlDTv6AACgkQ8Mjk52CukIyJsQCdEmOV0wAt3bmBio5qHf5bDSZ2
xdsAn3ZGxack8siXLzWBm1x5zgbxRirm
=ig2r
-----END PGP SIGNATURE-----

--------------enig3CC89E1778B245B40F92FDB2--



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