From 0eb32a8e2e000218959606af4a54a55fc4598eea Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 28 Sep 2014 10:21:53 +0200 Subject: fix perl cross-compile and some modules on Darwin host --- mk/host-bottom.mk | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mk/host-bottom.mk') 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 @@ -66,6 +66,15 @@ ifeq (${HOST_STYLE},auto) 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 $@ -- cgit v1.2.3