Packages: added essential build dependencies.
This commit is contained in:
@@ -12,7 +12,7 @@ SRCDIR= unit-$(VERSION)
|
|||||||
|
|
||||||
CODENAME = $(shell lsb_release -cs)
|
CODENAME = $(shell lsb_release -cs)
|
||||||
|
|
||||||
BUILD_DEPENDS_unit = debhelper devscripts libxml2-utils lintian lsb-release xsltproc
|
BUILD_DEPENDS_unit = build-essential debhelper devscripts fakeroot libxml2-utils lintian lsb-release xsltproc
|
||||||
BUILD_DEPENDS = $(BUILD_DEPENDS_unit)
|
BUILD_DEPENDS = $(BUILD_DEPENDS_unit)
|
||||||
|
|
||||||
MODULES=
|
MODULES=
|
||||||
|
|||||||
@@ -8,13 +8,14 @@ DEFAULT_RELEASE := 1
|
|||||||
VERSION ?= $(DEFAULT_VERSION)
|
VERSION ?= $(DEFAULT_VERSION)
|
||||||
RELEASE ?= $(DEFAULT_RELEASE)
|
RELEASE ?= $(DEFAULT_RELEASE)
|
||||||
|
|
||||||
BUILD_DEPENDS_unit = libxml2 libxslt rpm-build rpmlint
|
BUILD_DEPENDS_unit = gcc libxml2 libxslt rpm-build rpmlint
|
||||||
BUILD_DEPENDS = $(BUILD_DEPENDS_unit)
|
BUILD_DEPENDS = $(BUILD_DEPENDS_unit)
|
||||||
|
|
||||||
ifeq ($(shell rpm --eval "%{?rhel}"), 6)
|
ifeq ($(shell rpm --eval "%{?rhel}"), 6)
|
||||||
OSVER = centos6
|
OSVER = centos6
|
||||||
else ifeq ($(shell rpm --eval "%{?rhel}"), 7)
|
else ifeq ($(shell rpm --eval "%{?rhel}"), 7)
|
||||||
OSVER = centos7
|
OSVER = centos7
|
||||||
|
BUILD_DEPENDS += which
|
||||||
else ifeq ($(shell rpm --eval "%{?amzn}"), 1)
|
else ifeq ($(shell rpm --eval "%{?amzn}"), 1)
|
||||||
OSVER = amazonlinux1
|
OSVER = amazonlinux1
|
||||||
BUILD_DEPENDS += system-rpm-config
|
BUILD_DEPENDS += system-rpm-config
|
||||||
|
|||||||
Reference in New Issue
Block a user