[Pkg-php-commits] [php/debian-sid] Turn the phpapi dependencies into php5 | phpapi to fix installability issues

Raphael Geissert atomo64 at gmail.com
Sun Feb 7 23:19:16 UTC 2010


When an extension was installed on its own without a SAPI being previously
installed it would require manual interference to install it.
---
 debian/rules |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/debian/rules b/debian/rules
index 93a87bb..be749f5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -577,7 +577,7 @@ binary-arch: build install
 		echo "php:Provides=phpapi-$${phpapi}" >> debian/$$i.substvars; \
 	done; \
 	cat debian/modulelist | while read package extname dsoname; do \
-		echo "php:Depends=phpapi-$${phpapi}" >> debian/php5-$$package.substvars; \
+		echo "php:Depends=php5 | phpapi-$${phpapi}" >> debian/php5-$$package.substvars; \
 	done
 
 	for i in cgi cli; do \
-- 
1.6.3.3





More information about the Pkg-php-commits mailing list