Revert "Revert "Start the transition to PHP 8.0""

This reverts commit 034e59102f.
This commit is contained in:
Ondřej Surý 2021-11-23 11:54:17 +01:00
parent 60311d90a2
commit cbd0e7e03a

13
debian/rules vendored
View file

@ -9,9 +9,9 @@
include /usr/share/dpkg/default.mk
PHP_DEFAULT_VERSION := 7.4
PHP_SUPPORTED_VERSIONS := 7.4 8.0
PHP_BREAKS_VERSIONS := 5.6 7.0 7.1 7.2 7.3
PHP_DEFAULT_VERSION := 8.0
PHP_SUPPORTED_VERSIONS := 8.0
PHP_BREAKS_VERSIONS := 5.6 7.0 7.1 7.2 7.3 7.4
, := ,
PHP_DEV_PACKAGES := $(addprefix php,$(addsuffix -dev$(,),$(PHP_SUPPORTED_VERSIONS))), $(addprefix php,$(addsuffix -json$(,),$(PHP_SUPPORTED_VERSIONS))), $(addprefix php,$(addsuffix -xml$(,),$(PHP_SUPPORTED_VERSIONS))), $(addprefix php,$(addsuffix -mbstring$(,),$(PHP_SUPPORTED_VERSIONS)))
@ -33,13 +33,6 @@ ifneq (linux,$(DEB_HOST_ARCH_OS))
DH_SYSTEMD :=
endif
# Disable systemd on Ubuntu 12.04 LTS
ifeq (Ubuntu,$(DEB_VENDOR))
ifeq (precise,$(DEB_DISTRIBUTION))
DH_SYSTEMD :=
endif
endif
%:
dh $@ $(DH_SYSTEMD)