svn commit: r437734 - head/Mk/Scripts
Mathieu Arnold
mat at FreeBSD.org
Tue Apr 4 14:06:43 UTC 2017
Author: mat
Date: Tue Apr 4 14:06:41 2017
New Revision: 437734
URL: https://svnweb.freebsd.org/changeset/ports/437734
Log:
The lang/perl5* ports are allowed to have their shebangs pointing to the
versionned binaries.
Sponsored by: Absolight
Modified:
head/Mk/Scripts/qa.sh (contents, props changed)
Modified: head/Mk/Scripts/qa.sh
==============================================================================
--- head/Mk/Scripts/qa.sh Tue Apr 4 13:48:40 2017 (r437733)
+++ head/Mk/Scripts/qa.sh Tue Apr 4 14:06:41 2017 (r437734)
@@ -46,9 +46,12 @@ shebangonefile() {
"") ;;
${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
+ # lang/perl5* are allowed to have these shebangs.
+ if ! expr ${PKGORIGIN} : '^lang/perl5.*' > /dev/null; then
+ 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
+ fi
;;
${LOCALBASE}/*) ;;
${PREFIX}/*) ;;
More information about the svn-ports-all
mailing list