Comment 1 for bug 58564

Revision history for this message
Michael Bienia (geser) wrote :

Here is a fix for it.

diff -u php4-yaz-1.0.4/debian/rules php4-yaz-1.0.4/debian/rules
--- php4-yaz-1.0.4/debian/rules
+++ php4-yaz-1.0.4/debian/rules
@@ -10,7 +10,7 @@

 PHPIZE = /usr/bin/phpize

-PHPAPIVERSION := $(shell egrep '\#define PHP_API_VERSION ' /usr/include/php4/main/php.h | sed -e 's/\#define PHP_API_VERSION //')
+PHPAPIVERSION := $(shell php-config4 --phpapi)

 CFLAGS = -Wall -g