diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-09-28 10:21:53 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-09-28 10:21:53 +0200 |
commit | 0eb32a8e2e000218959606af4a54a55fc4598eea (patch) | |
tree | dbed87c0eb164cfa4e174b8ffbec5764f329f50a /mk/host-bottom.mk | |
parent | cdfe818edc260adc555fe71c4995ef12662aa6b9 (diff) |
fix perl cross-compile and some modules on Darwin host
Diffstat (limited to 'mk/host-bottom.mk')
-rw-r--r-- | mk/host-bottom.mk | 9 |
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: |