From owner-freebsd-ports@FreeBSD.ORG Fri Sep 12 21:12:31 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D143106566B for ; Fri, 12 Sep 2008 21:12:31 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id CB17C8FC14 for ; Fri, 12 Sep 2008 21:12:30 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1KeFwJ-0002ni-MU; Sat, 13 Sep 2008 01:12:27 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id C68931108D; Sat, 13 Sep 2008 01:12:40 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id 51EF717031; Sat, 13 Sep 2008 01:12:22 +0400 (MSD) Date: Sat, 13 Sep 2008 01:12:22 +0400 From: Dmitry Marakasov To: chris#@1command.com Message-ID: <20080912211222.GA37740@hades.panopticon> References: <20080912105907.hgkvg352gco0k8ow@webmail.1command.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20080912105907.hgkvg352gco0k8ow@webmail.1command.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-ports@freebsd.org Subject: Re: a $PREFIX question... 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: Fri, 12 Sep 2008 21:12:31 -0000 * chris#@1command.com (chris#@1command.com) wrote: You should just refedine PREFIX to, say, /usr/local/php5, and everything will be installed there: /usr/local/php5/bin /usr/local/php5/etc /usr/local/php5/include /usr/local/php5/lib ... If you specifically want bin/php5, etc/php5 etc. you'll have to hack much more stuff. At least, you'll need to add --bindir=${PREFIX}/bin/php5 --libdir=${PREFIX}/lib/php5 (etc. for other dirs, see php's `configure --help`) to CONFIGURE_ARGS to make php5 actually install file into those locations, and most likely other hacks will be needed. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru