Created attachment 146736 [details] shebangfix zsh support sh/bash emulation mode but it seems to disagree about quoting in regexp matches. $ make install -C ${PORTSDIR:-/usr/local}/shells/zsh $ ln -s /usr/local/bin/zsh ~/bin/bash $ export PATH=~/bin:$PATH $ make ... ===> Configuring for pipelight-0.2.7.3_1 ===> FreeBSD 10 autotools fix applied to /cache/emulators/pipelight/work/mmueller2012-pipelight-79b1b7ba0032/configure /bin/ln -s /dist/pipelight/pluginloader.tar.gz /cache/emulators/pipelight/work/mmueller2012-pipelight-79b1b7ba0032/pluginloader-v0.2.7.3.tar.gz /bin/ln -s /dist/pipelight/pluginloader.tar.gz.sig /cache/emulators/pipelight/work/mmueller2012-pipelight-79b1b7ba0032/pluginloader-v0.2.7.3.tar.gz.sig WARNING: Unknown argument --verbose. WARNING: Unknown argument --x-libraries=/usr/local/lib. WARNING: Unknown argument --x-includes=/usr/local/include. WARNING: Unknown argument --build=amd64-portbld-freebsd11.0. ./configure:298: parse error near `(' ===> Script "configure" failed unexpectedly. Test case: $ bash --version | head -1 GNU bash, version 4.3.24(0)-release (amd64-portbld-freebsd11.0) $ zsh --version zsh 5.0.6 (amd64-portbld-freebsd11.0) $ bash -f $ [[ "foo(bar)" =~ foo\((bar)\) ]] && echo ${BASH_REMATCH[1]} bar $ zsh -f % [[ "foo(bar)" =~ foo\((bar)\) ]] && echo ${BASH_REMATCH[1]} % emulate -L bash % [[ "foo(bar)" =~ foo\((bar)\) ]] && echo ${BASH_REMATCH[1]} zsh: parse error near `(' % [[ "foo(bar)" =~ "foo\((bar)\)" ]] && echo ${BASH_REMATCH[1]} % setopt bash_rematch % [[ "foo(bar)" =~ "foo\((bar)\)" ]] && echo ${BASH_REMATCH[1]} bar
Created attachment 146737 [details] shebangfix Missed USES=shebangfix.
Created attachment 146738 [details] shebangfix Doh, conflict with another change...
Created attachment 146741 [details] |poudriere testport -P| log (9.3R i386) Builds fine sans unrelated strip/plist issues.
A commit references this bug: Author: kmoore Date: Fri Sep 5 18:56:06 UTC 2014 New revision: 367380 URL: http://svnweb.freebsd.org/changeset/ports/367380 Log: - Ignore bash from PATH PR: 193287 Submitted by: Jan Beich <jbeich@vfemail.net> Changes: head/emulators/pipelight/Makefile
Committed, thanks!