Package: dh-make-php
Version: 0.2.3
Severity: important
Tags: patch

This line in pear.mk makes php-benchmark FTBFS:

$(shell /usr/share/dh-make-php/phppkginfo . changelog) | gzip -9 > 
$(DEB_DESTDIR)$(PEAR_NEW_DOC_DIR)/changelog.gz

Changing that line to the following line fixes the problem for
php-benchmark:

/usr/share/dh-make-php/phppkginfo . changelog | gzip -9 > 
$(DEB_DESTDIR)$(PEAR_NEW_DOC_DIR)/changelog.gz

Patch attached.

--- orig/dh-make-php-0.2.3/pear.mk	2007-07-18 10:26:36.000000000 +0200
+++ dh-make-php-0.2.3/pear.mk	2007-08-12 10:30:29.000000000 +0200
@@ -72,7 +72,7 @@
 
 	# create upstream changelog
 #	/usr/bin/xsltproc --nonet --novalid /usr/share/dh-make-php/xslt/changelog.xsl package.xml | gzip -9 > $(DEB_DESTDIR)$(PEAR_NEW_DOC_DIR)/changelog.gz
-	$(shell /usr/share/dh-make-php/phppkginfo . changelog) | gzip -9 > $(DEB_DESTDIR)$(PEAR_NEW_DOC_DIR)/changelog.gz
+	/usr/share/dh-make-php/phppkginfo . changelog | gzip -9 > $(DEB_DESTDIR)$(PEAR_NEW_DOC_DIR)/changelog.gz
 
 	# move test to correct location
 	# must move files instead of directory in case tests was part of docs above

Reply via email to