[Pkg-mediawiki-commits] [wikidiff2] 05/06: Add accidentally-removed php:Depends substvar

Kunal Mehta legoktm-guest at moszumanska.debian.org
Wed Aug 31 02:14:45 UTC 2016


This is an automated email from the git hooks/post-receive script.

legoktm-guest pushed a commit to branch master
in repository wikidiff2.

commit d485d7de2c0d7d1654ea30d6bf34b84957fccb46
Author: Kunal Mehta <legoktm at member.fsf.org>
Date:   Tue Aug 30 19:07:19 2016 -0700

    Add accidentally-removed php:Depends substvar
    
    It was accidentally removed in f95cf856a8a.
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index ca7bb1b..2c8d3f0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,6 +17,10 @@ override_dh_auto_test:
 override_dh_auto_install:
 	INSTALL_ROOT=$(CURDIR)/debian/php-wikidiff2 make install
 
+override_dh_gencontrol:
+	echo "php:Depends=phpapi-$(shell php-config --phpapi)" >> debian/php-wikidiff2.substvars
+	dh_gencontrol
+
 override_dh_auto_clean:
 	/usr/bin/phpize --clean
 	dh_auto_clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/wikidiff2.git



More information about the Pkg-mediawiki-commits mailing list