From owner-freebsd-current@FreeBSD.ORG Thu Nov 30 07:50:47 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1851D16A403; Thu, 30 Nov 2006 07:50:47 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 623DE43CA3; Thu, 30 Nov 2006 07:50:40 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id B693C1A4D82; Wed, 29 Nov 2006 23:50:46 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 0A7395146F; Thu, 30 Nov 2006 02:50:29 -0500 (EST) Date: Thu, 30 Nov 2006 02:50:28 -0500 From: Kris Kennaway To: Vincent Blondel Message-ID: <20061130075028.GA22164@xor.obsecurity.org> References: <39215.172.16.9.1.1164806110.squirrel@172.16.66.74> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline In-Reply-To: <39215.172.16.9.1.1164806110.squirrel@172.16.66.74> User-Agent: Mutt/1.4.2.2i Cc: ports@FreeBSD.org, current@freebsd.org Subject: Re: DESTDIR problems ... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ports@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Nov 2006 07:50:47 -0000 --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--