Date: Wed, 27 Jun 2012 09:03:51 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Miroslav Lachman <000.fbsd@quip.cz> Cc: ports@FreeBSD.org, flo@FreeBSD.org Subject: Re: php53-extensions-1.6 doesn't work with OPTIONSng Message-ID: <20120627070349.GM41054@ithaqua.etoilebsd.net> In-Reply-To: <4FE9CEA9.6090000@quip.cz> References: <4FE9CEA9.6090000@quip.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
--4oQnj4jcM03NhqPN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 26, 2012 at 05:00:57PM +0200, Miroslav Lachman wrote: > Hi, >=20 > I tried to install or update php53-extensions on few machines and I=20 > always found a same bug. > My options are ignored and php53-extensions are installed with default=20 > set of extensions. > It's because Makefile contains old OPTIONS style. >=20 > For example - I have following settings saved from previous run of make= =20 > config >=20 > php53-extensions/# grep '_SET+' /var/db/ports/php53-extensions/options > OPTIONS_FILE_SET+=3DBZ2 > OPTIONS_FILE_SET+=3DFILTER > OPTIONS_FILE_SET+=3DICONV > OPTIONS_FILE_SET+=3DJSON > OPTIONS_FILE_SET+=3DPOSIX > OPTIONS_FILE_SET+=3DSESSION >=20 >=20 > It is recognized as: >=20 > php53-extensions/# make showconfig | grep '=3Don:' > BZ2=3Don: bzip2 library support > FILTER=3Don: input filter support > ICONV=3Don: iconv support > JSON=3Don: JavaScript Object Serialization support > POSIX=3Don: POSIX-like functions > SESSION=3Don: session support >=20 >=20 > But installation ends with following extensions installed: >=20 > 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 >=20 >=20 > And `make` is checking for those default extensions: >=20 > php53-extensions/# make > =3D=3D=3D> License check disabled, port has not defined LICENSE > =3D=3D=3D> Found saved configuration for php53-extensions-1.6 > =3D=3D=3D> Extracting for php53-extensions-1.6 > =3D=3D=3D> Patching for php53-extensions-1.6 > =3D=3D=3D> php53-extensions-1.6 depends on file:=20 > /usr/local/include/php/main/php.h - found > =3D=3D=3D> php53-extensions-1.6 depends on file:=20 > /usr/local/lib/php/20090626/bz2.so - found > =3D=3D=3D> php53-extensions-1.6 depends on file:=20 > /usr/local/lib/php/20090626/ctype.so - found > =3D=3D=3D> php53-extensions-1.6 depends on file:=20 > /usr/local/lib/php/20090626/dom.so - found > =3D=3D=3D> php53-extensions-1.6 depends on file:=20 > /usr/local/lib/php/20090626/filter.so - found > =3D=3D=3D> php53-extensions-1.6 depends on file:=20 > /usr/local/lib/php/20090626/hash.so - found > =3D=3D=3D> php53-extensions-1.6 depends on file:=20 > /usr/local/lib/php/20090626/iconv.so - found > =3D=3D=3D> php53-extensions-1.6 depends on file:=20 > /usr/local/lib/php/20090626/json.so - found > =3D=3D=3D> php53-extensions-1.6 depends on file:=20 > /usr/local/lib/php/20090626/pdo.so - found > =3D=3D=3D> php53-extensions-1.6 depends on file:=20 > /usr/local/lib/php/20090626/pdo_sqlite.so - found > =3D=3D=3D> php53-extensions-1.6 depends on file:=20 > /usr/local/lib/php/20090626/phar.so - found > =3D=3D=3D> php53-extensions-1.6 depends on file:=20 > /usr/local/lib/php/20090626/posix.so - found > =3D=3D=3D> php53-extensions-1.6 depends on file:=20 > /usr/local/lib/php/20090626/session.so - found > =3D=3D=3D> php53-extensions-1.6 depends on file:=20 > /usr/local/lib/php/20090626/simplexml.so - found > =3D=3D=3D> php53-extensions-1.6 depends on file:=20 > /usr/local/lib/php/20090626/sqlite.so - found > =3D=3D=3D> php53-extensions-1.6 depends on file:=20 > /usr/local/lib/php/20090626/sqlite3.so - found > =3D=3D=3D> php53-extensions-1.6 depends on file:=20 > /usr/local/lib/php/20090626/tokenizer.so - found > =3D=3D=3D> php53-extensions-1.6 depends on file:=20 > /usr/local/lib/php/20090626/xml.so - found > =3D=3D=3D> php53-extensions-1.6 depends on file:=20 > /usr/local/lib/php/20090626/xmlreader.so - found > =3D=3D=3D> php53-extensions-1.6 depends on file:=20 > /usr/local/lib/php/20090626/xmlwriter.so - found > =3D=3D=3D> Configuring for php53-extensions-1.6 >=20 >=20 > So the port lang/php53-extensions needs to be converted to OPTIONSng as= =20 > lang/php5-extensions was. >=20 > Miroslav Lachman > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" yes it should be converted to optionsng, but anyway the compatibility should handle this, I'll try to reproduce to be able to fix the compatibility wher= e it fails. regards, Bapt --4oQnj4jcM03NhqPN Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk/qsFUACgkQ8kTtMUmk6EyA8ACdGlFCj2z5MmN7KMgOg0FpwlRd IgMAmgPppjGWkw9DbURrwxt26bCIqE+0 =+a8X -----END PGP SIGNATURE----- --4oQnj4jcM03NhqPN--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120627070349.GM41054>