summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/Makefile.php
diff options
context:
space:
mode:
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