From owner-freebsd-ports@FreeBSD.ORG Wed Jun 27 07:03:54 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 72243106566B; Wed, 27 Jun 2012 07:03:54 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 51C7B8FC08; Wed, 27 Jun 2012 07:03:54 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q5R73sDq058059; Wed, 27 Jun 2012 07:03:54 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q5R73rSN058057; Wed, 27 Jun 2012 07:03:53 GMT (envelope-from bapt@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f Date: Wed, 27 Jun 2012 09:03:51 +0200 From: Baptiste Daroussin To: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <20120627070349.GM41054@ithaqua.etoilebsd.net> References: <4FE9CEA9.6090000@quip.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4oQnj4jcM03NhqPN" Content-Disposition: inline In-Reply-To: <4FE9CEA9.6090000@quip.cz> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ports@FreeBSD.org, flo@FreeBSD.org Subject: Re: 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: Wed, 27 Jun 2012 07:03:54 -0000 --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--