|
@@ -49,6 +49,7 @@ ifeq ($(4),target)
|
|
|
# Configure package for target
|
|
|
define $(2)_CONFIGURE_CMDS
|
|
|
cd $$($$(PKG)_SRCDIR) && if [ -f Build.PL ] ; then \
|
|
|
+ $$($(2)_CONF_ENV) \
|
|
|
PERL_MM_USE_DEFAULT=1 \
|
|
|
perl Build.PL \
|
|
|
--config ar="$$(TARGET_AR)" \
|
|
@@ -69,6 +70,7 @@ define $(2)_CONFIGURE_CMDS
|
|
|
--install_path libdoc=/usr/share/man/man3 \
|
|
|
$$($(2)_CONF_OPT); \
|
|
|
else \
|
|
|
+ $$($(2)_CONF_ENV) \
|
|
|
PERL_MM_USE_DEFAULT=1 \
|
|
|
PERL_AUTOINSTALL=--skipdeps \
|
|
|
perl Makefile.PL \
|
|
@@ -95,12 +97,14 @@ else
|
|
|
# Configure package for host
|
|
|
define $(2)_CONFIGURE_CMDS
|
|
|
cd $$($$(PKG)_SRCDIR) && if [ -f Build.PL ] ; then \
|
|
|
+ $$($(2)_CONF_ENV) \
|
|
|
PERL_MM_USE_DEFAULT=1 \
|
|
|
perl Build.PL \
|
|
|
--install_base $$(HOST_DIR)/usr \
|
|
|
--installdirs vendor \
|
|
|
$$($(2)_CONF_OPT); \
|
|
|
else \
|
|
|
+ $$($(2)_CONF_ENV) \
|
|
|
PERL_MM_USE_DEFAULT=1 \
|
|
|
PERL_AUTOINSTALL=--skipdeps \
|
|
|
perl Makefile.PL \
|