From owner-freebsd-ports@FreeBSD.ORG Tue Jun 26 15:01:07 2012 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DAE02106566B; Tue, 26 Jun 2012 15:01:06 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id 5DFF98FC1C; Tue, 26 Jun 2012 15:01:06 +0000 (UTC) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 9533728426; Tue, 26 Jun 2012 17:00:59 +0200 (CEST) Received: from [192.168.1.2] (static-84-242-120-26.net.upcbroadband.cz [84.242.120.26]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id BD6C728423; Tue, 26 Jun 2012 17:00:57 +0200 (CEST) Message-ID: <4FE9CEA9.6090000@quip.cz> Date: Tue, 26 Jun 2012 17:00:57 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.19) Gecko/20110420 Lightning/1.0b1 SeaMonkey/2.0.14 MIME-Version: 1.0 To: flo@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org Subject: php53-extensions-1.6 doesn't work with OPTIONSng 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: Tue, 26 Jun 2012 15:01:07 -0000 Hi, I tried to install or update php53-extensions on few machines and I always found a same bug. My options are ignored and php53-extensions are installed with default set of extensions. It's because Makefile contains old OPTIONS style. For example - I have following settings saved from previous run of make config php53-extensions/# grep '_SET+' /var/db/ports/php53-extensions/options OPTIONS_FILE_SET+=BZ2 OPTIONS_FILE_SET+=FILTER OPTIONS_FILE_SET+=ICONV OPTIONS_FILE_SET+=JSON OPTIONS_FILE_SET+=POSIX OPTIONS_FILE_SET+=SESSION It is recognized as: php53-extensions/# make showconfig | grep '=on:' BZ2=on: bzip2 library support FILTER=on: input filter support ICONV=on: iconv support JSON=on: JavaScript Object Serialization support POSIX=on: POSIX-like functions SESSION=on: session support But installation ends with following extensions installed: php53-extensions/# pkg_info -E php\* php53-5.3.14 php53-bz2-5.3.14 php53-ctype-5.3.14 php53-dom-5.3.14 php53-extensions-1.6 php53-filter-5.3.14 php53-hash-5.3.14 php53-iconv-5.3.14 php53-json-5.3.14 php53-mbstring-5.3.14 php53-pdo-5.3.14 php53-pdo_sqlite-5.3.14 php53-phar-5.3.14 php53-posix-5.3.14 php53-session-5.3.14 php53-simplexml-5.3.14 php53-sqlite-5.3.14 php53-sqlite3-5.3.14 php53-tokenizer-5.3.14 php53-xml-5.3.14 php53-xmlreader-5.3.14 php53-xmlwriter-5.3.14 And `make` is checking for those default extensions: php53-extensions/# make ===> License check disabled, port has not defined LICENSE ===> Found saved configuration for php53-extensions-1.6 ===> Extracting for php53-extensions-1.6 ===> Patching for php53-extensions-1.6 ===> php53-extensions-1.6 depends on file: /usr/local/include/php/main/php.h - found ===> php53-extensions-1.6 depends on file: /usr/local/lib/php/20090626/bz2.so - found ===> php53-extensions-1.6 depends on file: /usr/local/lib/php/20090626/ctype.so - found ===> php53-extensions-1.6 depends on file: /usr/local/lib/php/20090626/dom.so - found ===> php53-extensions-1.6 depends on file: /usr/local/lib/php/20090626/filter.so - found ===> php53-extensions-1.6 depends on file: /usr/local/lib/php/20090626/hash.so - found ===> php53-extensions-1.6 depends on file: /usr/local/lib/php/20090626/iconv.so - found ===> php53-extensions-1.6 depends on file: /usr/local/lib/php/20090626/json.so - found ===> php53-extensions-1.6 depends on file: /usr/local/lib/php/20090626/pdo.so - found ===> php53-extensions-1.6 depends on file: /usr/local/lib/php/20090626/pdo_sqlite.so - found ===> php53-extensions-1.6 depends on file: /usr/local/lib/php/20090626/phar.so - found ===> php53-extensions-1.6 depends on file: /usr/local/lib/php/20090626/posix.so - found ===> php53-extensions-1.6 depends on file: /usr/local/lib/php/20090626/session.so - found ===> php53-extensions-1.6 depends on file: /usr/local/lib/php/20090626/simplexml.so - found ===> php53-extensions-1.6 depends on file: /usr/local/lib/php/20090626/sqlite.so - found ===> php53-extensions-1.6 depends on file: /usr/local/lib/php/20090626/sqlite3.so - found ===> php53-extensions-1.6 depends on file: /usr/local/lib/php/20090626/tokenizer.so - found ===> php53-extensions-1.6 depends on file: /usr/local/lib/php/20090626/xml.so - found ===> php53-extensions-1.6 depends on file: /usr/local/lib/php/20090626/xmlreader.so - found ===> php53-extensions-1.6 depends on file: /usr/local/lib/php/20090626/xmlwriter.so - found ===> Configuring for php53-extensions-1.6 So the port lang/php53-extensions needs to be converted to OPTIONSng as lang/php5-extensions was. Miroslav Lachman