From owner-freebsd-ports@FreeBSD.ORG Mon Feb 13 14:03:09 2006 Return-Path: X-Original-To: ports@FreeBSD.org 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 8D7A016A420; Mon, 13 Feb 2006 14:03:09 +0000 (GMT) (envelope-from freebsd@troback.com) Received: from devil.troback.com (c-195-216-040-156.cust.thalamus.net [195.216.40.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id E357943D58; Mon, 13 Feb 2006 14:03:07 +0000 (GMT) (envelope-from freebsd@troback.com) Received: from server25.gelita.swe (server25.extraco.gelita-se.local [10.46.150.25]) by devil.troback.com (Postfix) with ESMTP id 4B8D3114A0; Mon, 13 Feb 2006 15:02:28 +0100 (CET) Date: Mon, 13 Feb 2006 15:03:05 +0100 From: Anders Troback To: vd@FreeBSD.org Message-ID: <20060213150305.036810fb@server25.gelita.swe> In-Reply-To: <20060213064341.GA41133@qlovarnika.bg.datamax> References: <20060210124509.69332182@server25.gelita.swe> <20060210122601.GA64449@qlovarnika.bg.datamax> <20060210140902.2d64db73@server25.gelita.swe> <20060210133808.GB65207@qlovarnika.bg.datamax> <20060210201507.7855ce69@devil.troback.com> <20060213064341.GA41133@qlovarnika.bg.datamax> X-Mailer: Sylpheed-Claws 2.0.0 (GTK+ 2.8.11; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: ports@FreeBSD.org Subject: Re: PREFIX problems... X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Feb 2006 14:03:09 -0000 On Mon, 13 Feb 2006 08:43:41 +0200 Vasil Dimov wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > On Fri, Feb 10, 2006 at 08:15:07PM +0100, Anders Troback wrote: > >=20 > > I did this with LOCALBASE as you told me and the port installs just > > fine but now I have lots of empty folders: > >=20 > > /usr/local/bigsister/libdata > > /usr/local/bigsister/include > > /usr/local/bigsister/libexec > > etc. > >=20 > > do you know know where the are coming from and/or how I cope with > > them? > >=20 >=20 > Maybe you are looking for NO_MTREE=3Dyes (bsd.port.mk is your friend) >=20 > By the way I discussed that issue with some people and it showed that > PREFIX?=3D${LOCALBASE}/bigsister has some disadvantages like that if one > types ``make PREFIX=3D/home/joe'' for example, then the port will not be > installed in its own bigsister/ subdirectory (as it does by default) > and /home/joe will get populated with all the bigsister stuff. >=20 > Using CONFIGURE_ARGS=3D--prefix=3D${PREFIX}/bigsister has also some > disadvantages like that if one types ``make PREFIX=3D/home/joe'' one > would expect executables to be placed in /home/joe/bin/ rather than > /home/joe/bigsister/bin/ >=20 > You see - both methods have some disadvantages. The perfect solution > would be to patch bigsister to be hier(7) compatible - e.g. not to > install *.pm files in bin/, install documentation in ${DOCSDIR}, man > pages in ${MANPREFIX}, miscellaneous data in ${DATADIR} and > configuration stuff in ${PREFIX}/etc/ or ${PREFIX}/etc/bigsister. >=20 > Happy hacking ;-) >=20 I was looking for NO_MTREE=3Dyes, I just didn't know it:-D I will try to make the "perfect solution" later, for now I just upgrade and makes some small fixes.=20 Thanks guys!!! \\troback=20 --=20 Anders Trob=E4ck http://www.troback.com/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?" --------------------------------------------