From owner-freebsd-stable@FreeBSD.ORG Tue Aug 26 22:16:15 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C21F106567B for ; Tue, 26 Aug 2008 22:16:15 +0000 (UTC) (envelope-from chris#@1command.com) Received: from mail.1command.com (mail.1command.com [75.160.109.226]) by mx1.freebsd.org (Postfix) with ESMTP id F20808FC1C for ; Tue, 26 Aug 2008 22:16:14 +0000 (UTC) (envelope-from chris#@1command.com) Received: from mail.1command.com (localhost.1command.com [127.0.0.1]) by mail.1command.com (8.13.3/8.13.3) with ESMTP id m7QMG63O093899 for ; Tue, 26 Aug 2008 15:16:12 -0700 (PDT) (envelope-from chris#@1command.com) Received: (from www@localhost) by mail.1command.com (8.13.3/8.13.3/Submit) id m7QMG63H093898 for freebsd-stable@freebsd.org; Tue, 26 Aug 2008 15:16:06 -0700 (PDT) (envelope-from chris#@1command.com) Received: from hitme.hitometer.net (hitme.hitometer.net [75.160.109.235]) by webmail.1command.com (H.R. Communications Messaging System) with HTTP; Tue, 26 Aug 2008 15:16:06 -0700 Message-ID: <20080826151606.sabld2vt28kkcc4c@webmail.1command.com> Date: Tue, 26 Aug 2008 15:16:06 -0700 From: chris#@1command.com To: freebsd-stable@freebsd.org References: <20080826124253.7rfp8sb8rcgs0o0o@webmail.1command.com> <91A28195-55BC-4B4C-8382-9A9221AF8CDA@mac.com> <20080826140927.kq3fgpmuw8okw8gw@webmail.1command.com> <20080826150525.bqfs1a440cs8s408@webmail.1command.com> In-Reply-To: <20080826150525.bqfs1a440cs8s408@webmail.1command.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: H.R. Communications Internet Messaging System (HCIMS) 4.1 Professional (not for redistribution) / FreeBSD-5.5 Subject: Re: changing a ports final destination via make knobs question... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2008 22:16:15 -0000 Quoting chris#@1command.com: > Quoting Paul Schmehl : > >> --On August 26, 2008 2:09:27 PM -0700 chris#@1command.com wrote: >>> >>> I'll have a close look at $LOCALBASE. That sounds like a good >>> candidate. With any luck, it'll also cover extensions, ini(s), and >>> related libs. :) >>> >> >> Please be aware that if you change ${LOCALBASE} you change it for >> *all* subsequently installed port. Chris' suggestion to use make >> install PREFIX=/usr/local/php5 is the correct one for changing the >> location of a single port. > > Hello, and thank you very much for your reply. > > Yes. After looking closely at the variable, I discovered that also. > So I used the PREFIX=/usr/local/php5. But as I build it (via php5-extensions) > I am not seeing the PREFIX variable reflected. Shouldn't I be using: > make -DPREFIX=/usr/local/php5? Or simply hack the Makefile? OK. Never mind. Installing via lang/php5-extensions w/ make PREFIX=/usr/local/php5 resulted in: Installing PHP CGI into: /usr/local/php5/bin/ Installing build environment: /usr/local/php5/lib/php/build/ Installing header files: /usr/local/php5/include/php/ Installing helper programs: /usr/local/php5/bin/ program: phpize program: php-config Installing man pages: /usr/local/php5/man/man1/ So that went as desired. But the extension(s) vomited because I renamed phpize (PHP4) php4ize. OOOPS! I thought I should do that 'cause of potential versioning issues - guess not. Thanks again for taking the time to respond. --Chris > > Thanks again for taking the time to respond. > > --Chris > >> >> Paul Schmehl, If it isn't already >> obvious, my opinions are my own >> and not those of my employer. >> ****************************************** >> WARNING: Check the headers before replying >> > > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >