Date: Mon, 19 Nov 2012 00:29:04 -0800 (PST) From: Craig Leres <leres@ee.lbl.gov> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Craig Leres <leres@ee.lbl.gov> Subject: ports/173712: [PATCH] Explicitly run version.sh with ${SH} Message-ID: <201211190829.qAJ8T4Zb018758@hot.ee.lbl.gov> Resent-Message-ID: <201211190830.qAJ8U0TX005670@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211190829.qAJ8T4Zb018758>