Avature / dh-make-php

Build debian packages for php extensions
8 stars 7 forks source link

PHP7 excludes xml extension #3

Closed szepeviktor closed 7 years ago

szepeviktor commented 7 years ago

We need php-xml but only on PHP7. This is a dirty hack if don't want to maintain 2 branches.

The solution was stolen from dotdeb's php-pear: Depends: php-cli | php5-cli, php-common | php5-common, php-xml | php5-cli

szepeviktor commented 7 years ago

😄 Wait! If we depend on php-pear and php-pear depends on the xml then why do we need this??

I fooled myself with an equivs-ed (fake) php5 package. Sorry for the noise.