Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15882 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99642 invoked by uid 1010); 7 Apr 2005 00:19:42 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 99627 invoked from network); 7 Apr 2005 00:19:42 -0000 Received: from unknown (HELO firehawksystems.com) (127.0.0.1) by localhost with SMTP; 7 Apr 2005 00:19:42 -0000 X-Host-Fingerprint: 204.11.219.140 lt1.firehawksystems.com Linux 2.4/2.6 Received: from ([204.11.219.140:54987] helo=lt1.firehawksystems.com) by pb1.pair.com (ecelerity HEAD r(5268)) with SMTP id 5E/64-19272-C9C74524 for ; Wed, 06 Apr 2005 20:19:41 -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 j370JFHY004261 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Wed, 6 Apr 2005 17:19:16 -0700 In-Reply-To: <20050404053537.GC40@csh.rit.edu> 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> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: multipart/mixed; boundary=Apple-Mail-5--765520534 Message-ID: <496e9f86293f5d44da2611a8fce4dc16@firehawksystems.com> Cc: Jani Taskinen , internals@lists.php.net Date: Wed, 6 Apr 2005 19:19:09 -0500 To: Jon Parise 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") --Apple-Mail-5--765520534 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed 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 --Apple-Mail-5--765520534 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed --Apple-Mail-5--765520534--