Revert "Start the transition to PHP 8.0"

This reverts commit 3b7a9c1c71.
This commit is contained in:
Ondřej Surý 2021-11-20 08:19:52 +01:00
parent e3ac8ee4c7
commit 034e59102f

13
debian/rules vendored
View file

@ -9,9 +9,9 @@
include /usr/share/dpkg/default.mk
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_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_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,6 +33,13 @@ 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)