summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/Makefile.php
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2018-03-01 23:03:03 +0300
committerAndrei Belov <defan@nginx.com>2018-03-01 23:03:03 +0300
commit2d2b5048bc2150ed9abe7f0f24372442e277b738 (patch)
tree25e6c9361709b590b3276174d2218e14dec5a5f5 /pkg/rpm/Makefile.php
parent1f06ccb6d898b6dbb2506e4a893691a67da80130 (diff)
downloadunit-2d2b5048bc2150ed9abe7f0f24372442e277b738.tar.gz
unit-2d2b5048bc2150ed9abe7f0f24372442e277b738.tar.bz2
Packages: added openSUSE Leap, openSUSE Tumbleweed, SLES support.
Diffstat (limited to 'pkg/rpm/Makefile.php')
-rw-r--r--pkg/rpm/Makefile.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/rpm/Makefile.php b/pkg/rpm/Makefile.php
index 6a75a92f..9556f839 100644
--- a/pkg/rpm/Makefile.php
+++ b/pkg/rpm/Makefile.php
@@ -13,7 +13,12 @@ MODULE_INSTARGS_php= php-install
MODULE_SOURCES_php= unit.example-php-app \
unit.example-php-config
+ifeq ($(OSVER), opensuse-tumbleweed)
+BUILD_DEPENDS_php= php7-devel php7-embed
+else
BUILD_DEPENDS_php= php-devel php-embedded
+endif
+
BUILD_DEPENDS+= $(BUILD_DEPENDS_php)
define MODULE_PREINSTALL_php