From owner-svn-ports-all@freebsd.org Tue Apr 4 14:06:43 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B3FFD2D499; Tue, 4 Apr 2017 14:06:43 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EFDF61A4; Tue, 4 Apr 2017 14:06:42 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v34E6gS7005844; Tue, 4 Apr 2017 14:06:42 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v34E6gkc005843; Tue, 4 Apr 2017 14:06:42 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201704041406.v34E6gkc005843@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Tue, 4 Apr 2017 14:06:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r437734 - head/Mk/Scripts X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Apr 2017 14:06:43 -0000 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}/*) ;;