diff options
author | Andrei Belov <defan@nginx.com> | 2019-03-26 13:22:59 +0300 |
---|---|---|
committer | Andrei Belov <defan@nginx.com> | 2019-03-26 13:22:59 +0300 |
commit | 3d7a47c9acb1120f90225c833fd56cffeb99c2cd (patch) | |
tree | 90972bc7649275bcb3975652f011f38c1d4cf8d0 /pkg/rpm/Makefile | |
parent | b96e5fd8481f79935967fed56c71f72d16c59f6b (diff) | |
download | unit-3d7a47c9acb1120f90225c833fd56cffeb99c2cd.tar.gz unit-3d7a47c9acb1120f90225c833fd56cffeb99c2cd.tar.bz2 |
Packages: added RHEL 8 support.
Diffstat (limited to 'pkg/rpm/Makefile')
-rw-r--r-- | pkg/rpm/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pkg/rpm/Makefile b/pkg/rpm/Makefile index d94890f2..9e343aa2 100644 --- a/pkg/rpm/Makefile +++ b/pkg/rpm/Makefile @@ -11,6 +11,8 @@ ifeq ($(shell test `rpm --eval '0%{?rhel} -eq 6 -a 0%{?amzn} -eq 0'`; echo $$?), OSVER = centos6 else ifeq ($(shell test `rpm --eval '0%{?rhel} -eq 7 -a 0%{?amzn} -eq 0'`; echo $$?), 0) OSVER = centos7 +else ifeq ($(shell rpm --eval "%{?rhel}"), 8) +OSVER = centos8 else ifeq ($(shell rpm --eval "%{?amzn}"), 1) OSVER = amazonlinux1 else ifeq ($(shell rpm --eval "%{?amzn}"), 2) @@ -63,6 +65,17 @@ include Makefile.jsc8 include Makefile.jsc11 endif +ifeq ($(OSVER), centos8) +include Makefile.php +include Makefile.python27 +include Makefile.python36 +include Makefile.go +include Makefile.perl +include Makefile.jsc-common +include Makefile.jsc8 +include Makefile.jsc11 +endif + ifeq ($(OSVER), amazonlinux1) include Makefile.php include Makefile.python27 |