Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Nov 2006 02:50:28 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Vincent Blondel <vincent@xtra-net.org>
Cc:        ports@FreeBSD.org, current@freebsd.org
Subject:   Re: DESTDIR problems ...
Message-ID:  <20061130075028.GA22164@xor.obsecurity.org>
In-Reply-To: <39215.172.16.9.1.1164806110.squirrel@172.16.66.74>
References:  <39215.172.16.9.1.1164806110.squirrel@172.16.66.74>

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

--yrj/dFKFPuw6o+aM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Nov 29, 2006 at 02:15:10PM +0100, Vincent Blondel wrote:
>=20
> Hello,
>=20
> I just finalized a Makefile making a complete apache jail machine. For
> this I used a common
>=20
>   'make DESTDIR=3Djail_path install clean'
>=20
> But I noticed this does not work with all ports. For info, these packages
> give me problems perl5.8 m4 p5-Locale-gettext autoconf259 apache20.
>=20
> Nevertheless, I found a workaround by first making a package and install
> it after in the jail machine.
>=20
> For example, I noticed 'install phase' (apache20) makes problems with
> variable PREFIX that is not defined with PREFIX=3DDESTDIR+PREFIX. This is
> just an example but there are others.
>=20
> Can somebody say me if these problems are known, if these bugs are being
> solved  ??

This was sent to the wrong list; the freebsd-ports mailing list
is --> that way.

Anyway, DESTDIR support is incomplete and further work seems to have
stalled.  The easiest thing to do is either

a) mount the ports tree inside your jail (e.g using nullfs) and build
it "as normal"

b) Use precompiled packages within your jail, e.g. from the FTP site
using pkg_add -r or 'make package' outside the jail.

Kris

--yrj/dFKFPuw6o+aM
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFFbo1EWry0BWjoQKURAn3lAJ40ChVkoinlsHgd4WYdk9r1Vpgw0wCcD6it
YLL5se76GrTtyE/a7pNHL+M=
=sk7f
-----END PGP SIGNATURE-----

--yrj/dFKFPuw6o+aM--



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