From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Nov 19 08:30:00 2012 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CBD4F5C6 for ; Mon, 19 Nov 2012 08:30:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 865128FC0C for ; Mon, 19 Nov 2012 08:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qAJ8U07p005671 for ; Mon, 19 Nov 2012 08:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qAJ8U0TX005670; Mon, 19 Nov 2012 08:30:00 GMT (envelope-from gnats) Resent-Date: Mon, 19 Nov 2012 08:30:00 GMT Resent-Message-Id: <201211190830.qAJ8U0TX005670@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Craig Leres Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A272A4B4 for ; Mon, 19 Nov 2012 08:29:04 +0000 (UTC) (envelope-from leres@ee.lbl.gov) Received: from hot.ee.lbl.gov (hot.ee.lbl.gov [IPv6:2620:83:8000:102::cb]) by mx1.freebsd.org (Postfix) with ESMTP id 868B58FC0C for ; Mon, 19 Nov 2012 08:29:04 +0000 (UTC) Received: from hot.ee.lbl.gov (localhost [127.0.0.1]) by hot.ee.lbl.gov (8.14.5/8.14.5) with ESMTP id qAJ8T4gO018759; Mon, 19 Nov 2012 00:29:04 -0800 (PST) Received: (from leres@localhost) by hot.ee.lbl.gov (8.14.5/8.14.5/Submit) id qAJ8T4Zb018758; Mon, 19 Nov 2012 00:29:04 -0800 (PST) Message-Id: <201211190829.qAJ8T4Zb018758@hot.ee.lbl.gov> Date: Mon, 19 Nov 2012 00:29:04 -0800 (PST) From: Craig Leres To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/173712: [PATCH] Explicitly run version.sh with ${SH} Cc: Craig Leres X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Craig Leres List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2012 08:30:00 -0000 >Number: 173712 >Category: ports >Synopsis: [PATCH] Explicitly run version.sh with ${SH} >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Nov 19 08:30:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Craig Leres >Release: FreeBSD 8.2-RELEASE amd64 >Organization: Lawrence Berkeley National Laboratory >Environment: System: FreeBSD hot.ee.lbl.gov 8.2-RELEASE FreeBSD 8.2-RELEASE #13: Wed Jun 13 18:31:18 PDT 2012 leres@hot.ee.lbl.gov:/usr/src/8.2-RELEASE/sys/amd64/compile/LBLIPV6 amd64 >Description: The svn repo doesn't have svn:execute set on files/version.sh >How-To-Repeat: ===> Applying FreeBSD patches for arduino-mk-0.10 /usr/src/FreeBSD-current/ports/devel/arduino-mk/files/version.sh: Permission denied *** Error code 126 >Fix: Let's just explicitly run the script with ${SH}; patch attached. --- patch-Makefile begins here --- --- Makefile.orig 2012-11-17 13:04:23.000000000 -0800 +++ Makefile 2012-11-19 00:23:11.000000000 -0800 @@ -7,6 +7,7 @@ PORTNAME= arduino-mk PORTVERSION= 0.10 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://mjo.tc/atelier/2009/02/acli/ DISTNAME= ${PORTNAME}_${PORTVERSION} @@ -42,7 +43,7 @@ PLIST_SUB+= EXAMPLES="" .endif -ARDUINO_CMD= ${FILESDIR}/version.sh ${PREFIX}/arduino/lib/version.txt +ARDUINO_CMD= ${SH} ${FILESDIR}/version.sh ${PREFIX}/arduino/lib/version.txt OLD_BOARDS_TXT= /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/boards.txt NEW_BOARDS_TXT= ${PREFIX}/arduino/hardware/arduino/boards.txt --- patch-Makefile ends here --- >Release-Note: >Audit-Trail: >Unformatted: