Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 2013 14:06:58 -0700
From:      Mark Costlow <cheeks@swcp.com>
To:        freebsd-ports@freebsd.org
Subject:   php55-extensions build pulling in php5 (aka php54)
Message-ID:  <20131117210658.GA55481@same.swcp.com>

next in thread | raw e-mail | index | archive | help
I'm trying to use poudriere to build a set of PHP 5.5 packages.
This on a fresh 9.2 system with no PHP ports previously installed
(and the builds happen in a poudriere jail anyway).

Building php55 works fine. But when I add php55-extensions, something
in it pulls in php54, and some "php5" ports (e.g. php5-gd instead
of php55-gd).  I've also found some specific ports that depend on
"php5-" packages.  For example www/pecl-zendopcache has these B-deps:

B-deps: autoconf-2.69 autoconf-wrapper-20130530 libiconv-1.14_1 libxml2-2.8.0_2 m4-1.4.17,1 pcre-8.33 perl-5.14.4_2 php5-5.4.21

I wanted perl-5.16 on this system, and adding
"DEFAULT_VERSIONS=perl5=5.16" to make.conf seems to keep it from trying
to install perl-5.14.

My questions:

1. Regarding php55-extensions, I have not figured out how to discover
what element of this "meta port" is pulling in php5-gd and friends.
Is there any way to figure that out, other than looking at the
B-deps for all those ports by hand?

2. Is there any way to overcome pecl-zendopcache's dependency on "php5"? 

3. Is there any chance DEFAULT_VERSIONS will be extended to support
PHP version selection?

Thanks for any advice you can offer,

Mark
-- 
Mark Costlow    | Southwest Cyberport | Fax:   +1-505-232-7975
cheeks@swcp.com | Web:   www.swcp.com | Voice: +1-505-232-7992

Mail Minder - Intelligent Push Notifications for Email on the iPhone
http://mailminderapp.com/download  or in the App Store




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