summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/Makefile.perl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkg/rpm/Makefile.perl5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/rpm/Makefile.perl b/pkg/rpm/Makefile.perl
index d20c2539..5ecc4bd0 100644
--- a/pkg/rpm/Makefile.perl
+++ b/pkg/rpm/Makefile.perl
@@ -13,7 +13,12 @@ MODULE_INSTARGS_perl= perl-install
MODULE_SOURCES_perl= unit.example-perl-app \
unit.example-perl-config
+ifneq (,$(findstring $(OSVER),opensuse-leap opensuse-tumbleweed sles))
+BUILD_DEPENDS_perl= perl
+else
BUILD_DEPENDS_perl= perl-devel perl-libs perl-ExtUtils-Embed
+endif
+
BUILD_DEPENDS+= $(BUILD_DEPENDS_perl)
define MODULE_DEFINITIONS_perl