From owner-freebsd-ports@FreeBSD.ORG Sun Apr 20 15:03:37 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A008D37B401 for ; Sun, 20 Apr 2003 15:03:37 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-67-115-75-1.dsl.lsan03.pacbell.net [67.115.75.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id D48B243FA3 for ; Sun, 20 Apr 2003 15:03:36 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 8E5D066B9B; Sun, 20 Apr 2003 15:03:36 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 72FBD1001; Sun, 20 Apr 2003 15:03:36 -0700 (PDT) Date: Sun, 20 Apr 2003 15:03:36 -0700 From: Kris Kennaway To: Adam Glass Message-ID: <20030420220336.GE78660@rot13.obsecurity.org> References: <20030420062325.GB28069@sea.clarity.net> <20030420063317.GA75743@rot13.obsecurity.org> <20030420190705.GA21773@sea.clarity.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YkJPYEFdoxh/AXLE" Content-Disposition: inline In-Reply-To: <20030420190705.GA21773@sea.clarity.net> User-Agent: Mutt/1.4i cc: freebsd-ports@freebsd.org cc: Kris Kennaway Subject: Re: using an alternate install prefix X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Apr 2003 22:03:37 -0000 --YkJPYEFdoxh/AXLE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 20, 2003 at 12:07:05PM -0700, Adam Glass wrote: > Kris wrote: > > No, you need to set PREFIX as well. Some ports do not respect > > PREFIX, but that's a bug that should be reported via send-pr. >=20 > Hmm. Looks like I also need to set X11BASE and LINUXBASE; X11BASE > seems to have defaulted to PREFIX when I installed the > XFree86-4-libraries port, and all of that stuff ended up in /usr/pkg. Read the comments at the top of bsd.port.mk that explain all these variables. PREFIX is "Where should I install this port?". > Is /etc/make.conf ports-specific? (Or should I have these overrides > in another more specific/appropriate file?) I only want PREFIX set > like this when I'm building from ports. make.conf is used by all instances of 'make', but the variables are used by specific places. e.g. PREFIX is only used by ports. Kris --YkJPYEFdoxh/AXLE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+oxk4Wry0BWjoQKURAi2NAKD/fXNxnSDqcJBnIeRPRCPDIu0jygCgtUgR VjXIcCWEzlSe05lxaoBWuOQ= =Cs2Y -----END PGP SIGNATURE----- --YkJPYEFdoxh/AXLE--