summaryrefslogtreecommitdiff
path: root/mk/host-bottom.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/host-bottom.mk')
-rw-r--r--mk/host-bottom.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/mk/host-bottom.mk b/mk/host-bottom.mk
index 0a3add597..11c2aae26 100644
--- a/mk/host-bottom.mk
+++ b/mk/host-bottom.mk
@@ -67,6 +67,15 @@ endif
ifeq (${HOST_STYLE},manual)
${MAKE} host-configure $(MAKE_TRACE)
endif
+ifeq (${HOST_STYLE},perl)
+ @$(CMD_TRACE) "configuring perl module... "
+ cd ${WRKBUILD}; \
+ PATH='${HOST_PATH}' \
+ PERL_MM_USE_DEFAULT=1 \
+ PERL_AUTOINSTALL=--skipdeps \
+ $(HOST_PERL_ENV) \
+ perl-host Makefile.PL ${HOST_CONFIGURE_ARGS}
+endif
touch $@
host-build: