Closed szepeviktor closed 7 years ago
We need php-xml but only on PHP7. This is a dirty hack if don't want to maintain 2 branches.
php-xml
The solution was stolen from dotdeb's php-pear: Depends: php-cli | php5-cli, php-common | php5-common, php-xml | php5-cli
Depends: php-cli | php5-cli, php-common | php5-common, php-xml | php5-cli
😄 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.
equivs
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