summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2012-10-10 09:27:12 +0000
committersno <sno@pkgsrc.org>2012-10-10 09:27:12 +0000
commit46704728c3f773fec5e1ad8673c0b3aa1c4d52c3 (patch)
tree2dbb7b1dd9a0ef5b690c2f6348be8ef42ebf210d /lang
parenteba8872c3abce18ca44e83f518cb1ecd3da5e5c4 (diff)
downloadpkgsrc-46704728c3f773fec5e1ad8673c0b3aa1c4d52c3.tar.gz
adding BUILD_PARAMS analogue to MAKE_PARAMS for Module::Build Perl5 modules
Diffstat (limited to 'lang')
-rw-r--r--lang/perl5/module.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/perl5/module.mk b/lang/perl5/module.mk
index 44f4683e52e..8d45815c4ec 100644
--- a/lang/perl5/module.mk
+++ b/lang/perl5/module.mk
@@ -1,4 +1,4 @@
-# $NetBSD: module.mk,v 1.66 2012/05/18 21:04:46 ryoon Exp $
+# $NetBSD: module.mk,v 1.67 2012/10/10 09:27:12 sno Exp $
#
# This Makefile fragment is intended to be included by packages that build
# and install perl5 modules.
@@ -167,15 +167,15 @@ do-configure: perl5-configure
.PHONY: do-modbuild-build
do-modbuild-build:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./Build
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./Build ${BUILD_PARAMS}
.PHONY: do-modbuild-test
do-modbuild-test:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./Build test
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./Build test ${BUILD_PARAMS}
.PHONY: do-modbuild-install
do-modbuild-install:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./Build install ${PERL5_MODBUILD_DESTDIR_OPTION}
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./Build install ${PERL5_MODBUILD_DESTDIR_OPTION} ${BUILD_PARAMS}
.if target(do-${PERL5_MODTYPE}-build) && !defined(NO_BUILD)
do-build: do-${PERL5_MODTYPE}-build