summaryrefslogtreecommitdiff
path: root/mk/pkg-bottom.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-16 21:59:00 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-16 21:59:10 +0200
commit77ba10826a6c8387db4921b86548824b31840003 (patch)
treefb9755fc2ad8a1a12a5e05f888f9550af3ea1132 /mk/pkg-bottom.mk
parent09cd05404a941c07e5c9e16c38d3e0079661abba (diff)
fix p5-xml-parser package, add basic perl module infrastructure (based on buildroot perl stuff)
Diffstat (limited to 'mk/pkg-bottom.mk')
-rw-r--r--mk/pkg-bottom.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/mk/pkg-bottom.mk b/mk/pkg-bottom.mk
index 2972ffcfe..cc17c1202 100644
--- a/mk/pkg-bottom.mk
+++ b/mk/pkg-bottom.mk
@@ -53,6 +53,13 @@ else ifneq ($(filter minimal,${CONFIG_STYLE}),)
env ${CONFIGURE_ENV} \
${BASH} ${WRKSRC}/${CONFIGURE_PROG} \
${CONFIGURE_ARGS} $(MAKE_TRACE)
+else ifneq ($(filter perl,${CONFIG_STYLE}),)
+ @$(CMD_TRACE) "configuring perl module... "
+ cd ${WRKBUILD}; \
+ PATH='${HOST_PATH}' \
+ PERL_MM_USE_DEFAULT=1 \
+ PERL_AUTOINSTALL=--skipdeps \
+ perl Makefile.PL $(PERL_ENV)
else ifeq ($(strip ${CONFIG_STYLE}),)
@$(CMD_TRACE) "configuring... "
cd ${WRKBUILD}; rm -f config.{cache,status}; \