Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2012 17:00:57 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        flo@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   php53-extensions-1.6 doesn't work with OPTIONSng
Message-ID:  <4FE9CEA9.6090000@quip.cz>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FE9CEA9.6090000>