ports/134477: x11-wm/awesome 3.3-rc1 awesome-client broken (defaults to /bin/bash)
Guillermo Antonio Amaral Bastidas
gamaral at amaral.com.mx
Tue May 12 02:10:02 UTC 2009
>Number: 134477
>Category: ports
>Synopsis: x11-wm/awesome 3.3-rc1 awesome-client broken (defaults to /bin/bash)
>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: Tue May 12 02:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Guillermo Antonio Amaral Bastidas
>Release: 7.2-STABLE
>Organization:
>Environment:
FreeBSD DAEDALUS.localdomain 7.2-STABLE FreeBSD 7.2-STABLE #14: Sat May 9 19:13:38 PDT 2009 gamaral at DAEDALUS.localdomain:/usr/obj/usr/src/sys/DAEDALUS i386
>Description:
I noticed most of my external apps using awesome-client died on me on the last update to 3.3-rc1, after looking at the script it seems it has been set to look for bash in /bin/bash.
>How-To-Repeat:
Try to run awesome-client.
>Fix:
By replacing /bin/bash with /bin/sh, I see no problems running it with plain sh instead of bash ATM.
You can even see a comment about that in /usr/local/bin/awsetbg:43
Patch attached with submission follows:
diff -u awesome-old/Makefile awesome/Makefile
--- awesome-old/Makefile 2009-05-08 10:05:11.000000000 -0700
+++ awesome/Makefile 2009-05-11 18:50:58.000000000 -0700
@@ -62,6 +62,9 @@
pre-configure:
+ @${REINPLACE_CMD} \
+ -e 's!/bin/bash!/bin/sh!' \
+ ${WRKSRC}/utils/awesome-client
@${REINPLACE_CMD} \
-e 's/"generate luadoc" ON/\"generate luadoc" OFF/g' \
${WRKSRC}/awesomeConfig.cmake
@${REINPLACE_CMD} \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list