Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15883 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5656 invoked by uid 1010); 7 Apr 2005 00:28:42 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 5641 invoked from network); 7 Apr 2005 00:28:42 -0000 Received: from unknown (HELO firehawksystems.com) (127.0.0.1) by localhost with SMTP; 7 Apr 2005 00:28:42 -0000 X-Host-Fingerprint: 204.11.219.140 lt1.firehawksystems.com Linux 2.4/2.6 Received: from ([204.11.219.140:55226] helo=lt1.firehawksystems.com) by pb1.pair.com (ecelerity HEAD r(5268)) with SMTP id A8/A4-19272-9BE74524 for ; Wed, 06 Apr 2005 20:28:42 -0400 Received: from [216.145.57.228] (bfrance-mac.corp.yahoo.com [216.145.57.228]) (authenticated bits=0) by lt1.firehawksystems.com (8.13.3/8.13.3) with ESMTP id j370SST9004762 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Wed, 6 Apr 2005 17:28:29 -0700 In-Reply-To: <496e9f86293f5d44da2611a8fce4dc16@firehawksystems.com> References: <20050327221532.GA17108@csh.rit.edu> <20050329114511.GB42955@isis.sigpipe.cz> <20050329124758.GD42955@isis.sigpipe.cz> <20050330034330.GA6092@csh.rit.edu> <20050404053537.GC40@csh.rit.edu> <496e9f86293f5d44da2611a8fce4dc16@firehawksystems.com> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-ID: <64fb66853cac5193c88958ffd5f8a6fc@firehawksystems.com> Content-Transfer-Encoding: 7bit Cc: Jani Taskinen , Jon Parise , internals@lists.php.net Date: Wed, 6 Apr 2005 19:28:24 -0500 To: "Brian J. France" X-Mailer: Apple Mail (2.619.2) X-Virus-Scanned: ClamAV 0.83/810/Wed Apr 6 15:35:01 2005 on lt1 X-Virus-Status: Clean Subject: Re: [PHP-DEV] Build system support for stock FreeBSD autoconf ports From: list@firehawksystems.com ("Brian J. France") Ok, lets try this: http://www.brianfrance.com/patch.build Brian On Apr 6, 2005, at 7:19 PM, Brian J. France wrote: > On Apr 4, 2005, at 12:35 AM, Jon Parise wrote: >> Apologies if this got lost amongst the effort to prepare the recent >> set of releases, but I'm curious whether or not people find my second >> patch acceptable, based on the results of the prior discussion. If >> not, I'll know to abandon the issue. > > Here is a patch that we plan on using at work (Y!). This patch has two > key additions to Jon's patch. The first I think should be added to > Jon's patch so that shared extensions (phpize) build with his > environment variable change and the second is a change so we don't > have to set environment variables and it will pick up the right files. > The second change may or may not make it in, but I think the first > one should. > > The first change is in scripts/phpize.in where it tests and set > PHP_AUTOCONF/PHP_AUTOHEADER variables, then uses them below. This > patch should be added without the: > > + if ! which $PHP_AUTOCONF; then > + PHP_AUTOCONF=`ls -1 /usr/local/bin/autoconf* | sort -r | head > -1`; > + PHP_AUTOHEADER=`ls -1 /usr/local/bin/autoheader* | sort -r | > head -1`; > + fi > + > > block in it (which would be part of the second change). > > The second changes are the ones that do a which command to see if > PHP_AUTOCONF/PHP_AUTOHEADER is really valid and if not try to find the > valid one. I don't know how compatible this is across os's and is the > reason I can see it not making it (but it works for us). This package > also allows us to use any version of the ports/autoconf package > without having to set environment variable. > > Let me know what you think. > > Thanks, > > Brian > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php