From a155c62930481e265921772032ed47a3ab806b39 Mon Sep 17 00:00:00 2001 From: Allard Hoeve Date: Wed, 9 Mar 2016 15:33:55 +0100 Subject: [PATCH] Compile for PHP 7.0 --- debian/control | 2 +- debian/rules | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index b65ffed..63da635 100644 --- a/debian/control +++ b/debian/control @@ -6,7 +6,7 @@ Build-Depends: debhelper (>= 9), dh-php (>= 0.10), php-common, - php5-dev + php7.0-dev Standards-Version: 3.9.5 Vcs-Git: git@github.com:ByteInternet/php-hypernode.git Vcs-Browser: https://github.com/ByteInternet/php-hypernode diff --git a/debian/rules b/debian/rules index ae8bfc7..fa12411 100755 --- a/debian/rules +++ b/debian/rules @@ -12,7 +12,7 @@ INSTALL_ROOT := $(CURDIR)/debian/php-$(PECL_NAME) ## Does not work on precise, which has older PHP packaging that ## does not support /usr/lib/php/php{7.0,5} and such. # PHP_VERSIONS := $(shell /usr/sbin/phpquery -V) -PHP_VERSIONS := 5 +PHP_VERSIONS := 7.0 CONFIGURE_TARGETS := $(addprefix configure-,$(addsuffix -stamp,$(PHP_VERSIONS))) BUILD_TARGETS := $(addprefix build-,$(addsuffix -stamp,$(PHP_VERSIONS)))