diff options
author | Andrei Belov <defan@nginx.com> | 2018-03-01 23:23:31 +0300 |
---|---|---|
committer | Andrei Belov <defan@nginx.com> | 2018-03-01 23:23:31 +0300 |
commit | 231027e257a4de2decbd4402ba5a28e2bded59e4 (patch) | |
tree | 7c335c4a0a6709d505b549a0f6ffad6fab8cea57 /pkg/rpm/Makefile.go | |
parent | b2fb20780ab9ffe260a82bae410e45d56c10aede (diff) | |
download | unit-231027e257a4de2decbd4402ba5a28e2bded59e4.tar.gz unit-231027e257a4de2decbd4402ba5a28e2bded59e4.tar.bz2 |
Packages: added epel-release to unit-go dependencies on CentOS 6.
Diffstat (limited to 'pkg/rpm/Makefile.go')
-rw-r--r-- | pkg/rpm/Makefile.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/rpm/Makefile.go b/pkg/rpm/Makefile.go index 7f2f5438..8c18c573 100644 --- a/pkg/rpm/Makefile.go +++ b/pkg/rpm/Makefile.go @@ -12,7 +12,12 @@ MODULE_INSTARGS_go= go-install MODULE_SOURCES_go= unit.example-go-app \ unit.example-go-config +ifeq ($(OSVER), centos6) +BUILD_DEPENDS_go= epel-release golang +else BUILD_DEPENDS_go= golang +endif + BUILD_DEPENDS+= $(BUILD_DEPENDS_go) define MODULE_DEFINITIONS_go |