From 43ad6be2f04d4212bd97ffc9d8a2fe833d8f218c Mon Sep 17 00:00:00 2001 From: Andrei Belov Date: Thu, 14 Feb 2019 17:21:36 +0300 Subject: [PATCH] Packages: removed unit-perl on CentOS 6. CentOS 6 has Perl version 5.10, which is unsupported by Unit. --- pkg/rpm/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkg/rpm/Makefile b/pkg/rpm/Makefile index d817b434..fdc31302 100644 --- a/pkg/rpm/Makefile +++ b/pkg/rpm/Makefile @@ -46,7 +46,13 @@ BUILD_DEPENDS = $(BUILD_DEPENDS_unit) MODULES= -ifneq (,$(findstring $(OSVER),centos6 centos7 amazonlinux2)) +ifeq ($(OSVER), centos6) +include Makefile.php +include Makefile.python +include Makefile.go +endif + +ifneq (,$(findstring $(OSVER),centos7 amazonlinux2)) include Makefile.php include Makefile.python include Makefile.go