Tell Module::Build to use LOCALBASE/bin/perl and not
LOCALBASE/bin/perl5.xx.y. Add a QA check to test for it. Sponsored by: Absolight
This commit is contained in:
parent
4645dcd3e0
commit
a345c5cf11
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=432931
@ -45,6 +45,11 @@ shebangonefile() {
|
||||
case "${interp}" in
|
||||
"") ;;
|
||||
${LINUXBASE}/*) ;;
|
||||
${LOCALBASE}/bin/perl5.* | ${PREFIX}/bin/perl5.*)
|
||||
err "'${interp}' is an invalid shebang for '${f#${STAGEDIR}${PREFIX}/}' you must use ${LOCALBASE}/bin/perl."
|
||||
err "Either pass \${PERL} to the build or use USES=shebangfix"
|
||||
rc=1
|
||||
;;
|
||||
${LOCALBASE}/*) ;;
|
||||
${PREFIX}/*) ;;
|
||||
/bin/csh) ;;
|
||||
|
@ -192,7 +192,8 @@ CONFIGURE_ARGS+=--install_path lib="${PREFIX}/${SITE_PERL_REL}" \
|
||||
--install_path script="${PREFIX}/bin" \
|
||||
--install_path bin="${PREFIX}/bin" \
|
||||
--install_path libdoc="${MAN3PREFIX}/man/man3" \
|
||||
--install_path bindoc="${MAN1PREFIX}/man/man1"
|
||||
--install_path bindoc="${MAN1PREFIX}/man/man1" \
|
||||
--perl="${PERL}"
|
||||
CONFIGURE_SCRIPT?= Build.PL
|
||||
PL_BUILD?= Build
|
||||
CONFIGURE_ARGS+=--destdir ${STAGEDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user