From owner-freebsd-ports@FreeBSD.ORG Fri Feb 10 13:38:11 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 D004D16A420; Fri, 10 Feb 2006 13:38:10 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65C7943D45; Fri, 10 Feb 2006 13:38:10 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from qlovarnika.bg.datamax (qlovarnika.bg.datamax [192.168.10.2]) by jengal.datamax.bg (Postfix) with SMTP id D616EB833; Fri, 10 Feb 2006 15:38:08 +0200 (EET) Received: (nullmailer pid 65333 invoked by uid 1002); Fri, 10 Feb 2006 13:38:08 -0000 Date: Fri, 10 Feb 2006 15:38:08 +0200 From: Vasil Dimov To: Anders Troback Message-ID: <20060210133808.GB65207@qlovarnika.bg.datamax> References: <20060210124509.69332182@server25.gelita.swe> <20060210122601.GA64449@qlovarnika.bg.datamax> <20060210140902.2d64db73@server25.gelita.swe> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <20060210140902.2d64db73@server25.gelita.swe> X-OS: FreeBSD 6.0-STABLE User-Agent: Mutt/1.5.11 Cc: ports@freebsd.org Subject: Re: PREFIX problems... X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vd@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2006 13:38:11 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, Feb 10, 2006 at 02:09:02PM +0100, Anders Troback wrote: > On Fri, 10 Feb 2006 14:26:01 +0200 > Vasil Dimov wrote: ... > > PREFIX?= ${LOCALBASE}/bigsister > > CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} > > CONFIGURE_ARGS= --with-cgi=${BS_CGI_PATH} \ > > --with-perlext=${BS_PERL_EXT} \ > > --with-url=${BS_URL} \ > > --with-user=${BS_USER} ... > > That fixed it! > > Is this a "legal" way to go? Well, it is good for a port to install in LOCALBASE in general. Why do you want to install in ${LOCALBASE}/bigsister? If it conflicts with files installed by other ports you may look for --program-prefix (or something) argument to the configure script or use CONFLICTS= If these are not applicable then install in ${LOCALBASE}/bigsister Otherwise this is a "legal" substitution of your variant: CONFIGURE_ARGS=--prefix=${PREFIX}/bigsister - -- Vasil Dimov -----BEGIN PGP SIGNATURE----- iD8DBQFD7JdAFw6SP/bBpCARArvuAJ0WkEa0KkzBab4SzfqG45uas31eBgCfXRgM 5wYZJX6jY/OQU7in7ZoYePI= =hKp7 -----END PGP SIGNATURE-----