From owner-freebsd-pkg@FreeBSD.ORG Wed Jan 29 20:43:49 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0FF3D7D for ; Wed, 29 Jan 2014 20:43:49 +0000 (UTC) Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 967CD13B8 for ; Wed, 29 Jan 2014 20:43:48 +0000 (UTC) Received: by mail-wg0-f41.google.com with SMTP id n12so9000266wgh.2 for ; Wed, 29 Jan 2014 12:43:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=9GoTlvY2P22p9VxfaouuWCCgv5IBl67M6RrsxnBIRU0=; b=nrZUQ9qY2kzGOSVneT+ZVGzF1mZz7ioBhxSa0kXja5KDmjy9+SUMHJks8lvcFpJ8yp yb6M0ZUUPzDJbozdns1lBvtuXGjX3F8+97GOY38vpdM+rUHvacGoUC+jVFQ6JZvXX8Z+ z698FsIeaucLgOm6V1AusfKpIN+9ILjFNTI1Q/wASDc7MltSz/JCwsQn9lzufvt3Ylb0 FJ6mJr5TZCkeCEtTpjHLcA2uHT2HgWHjnpJbiqe3R6QVD19+YOZcJbmswnAEg2v1oLAH E58bKs+EdVGoyn1o9xjUidN8U2QVMubiVWwFUBS7Bw54Fn4lCv8XaJey0IH4PhKl304F Y7pQ== X-Received: by 10.194.174.197 with SMTP id bu5mr1365wjc.71.1391028226500; Wed, 29 Jan 2014 12:43:46 -0800 (PST) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPSA id ua8sm7324010wjc.4.2014.01.29.12.43.44 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 29 Jan 2014 12:43:45 -0800 (PST) Sender: Baptiste Daroussin Date: Wed, 29 Jan 2014 21:43:43 +0100 From: Baptiste Daroussin To: Kostas Oikonomou Subject: Re: can pkg be used to install in /opt? Message-ID: <20140129204342.GC54904@ithaqua.etoilebsd.net> References: <52E9496E.2030702@att.net> <52E96680.9070208@att.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LwW0XdcUbUexiWVK" Content-Disposition: inline In-Reply-To: <52E96680.9070208@att.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jan 2014 20:43:49 -0000 --LwW0XdcUbUexiWVK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 29, 2014 at 03:37:20PM -0500, Kostas Oikonomou wrote: > Matthew, Mark, thanks for replying. >=20 > I ended up editing the Makefile of /usr/ports/math/goblin to set PREFIX > =3D /opt/local, and installed the port. >=20 > Still, it seems to me that the ability to install a package to a > different prefix is, occasionally, useful. > What was the reason for removing it from pkg, when pkg_add had it? The reason is that relocatable packages are broken by design because build process hard code path at build time too often Bapt --LwW0XdcUbUexiWVK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (FreeBSD) iEYEARECAAYFAlLpZ/4ACgkQ8kTtMUmk6EwcGwCggEuGUhHstzTG9f7upEyGSykw 6WwAoLjcnU/PhTFTSVV+O8YBEIeCFuet =m60b -----END PGP SIGNATURE----- --LwW0XdcUbUexiWVK--