Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2009 02:08:52 GMT
From:      Guillermo Antonio Amaral Bastidas <gamaral@amaral.com.mx>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/134477: x11-wm/awesome 3.3-rc1 awesome-client broken (defaults to /bin/bash)
Message-ID:  <200905120208.n4C28qRv021258@www.freebsd.org>
Resent-Message-ID: <200905120210.n4C2A1sT008696@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905120208.n4C28qRv021258>