[MacPorts] #63758: libcaca @0.99.beta20_0: syntax error near `=~' during configure (10.4.11)

MacPorts noreply at macports.org
Tue Nov 2 02:27:38 UTC 2021


#63758: libcaca @0.99.beta20_0: syntax error near `=~' during configure (10.4.11)
------------------------+-----------------------
 Reporter:  evanmiller  |      Owner:  michaelld
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.7.1
 Keywords:  tiger       |       Port:  libcaca
------------------------+-----------------------
 It appears the regex operator is not supported by the system
 {{{/bin/sh}}}. The previous version installed fine. Full log attached.

 {{{
 :info:configure checking for sin in -lm... yes
 :info:configure ./configure: line 19389: conditional binary operator
 expected
 :info:configure ./configure: line 19389: syntax error near `=~'
 :info:configure ./configure: line 19389: `    [[ "$target_os" =~ [0-9]+ ]]
 && darwin_ver="${BASH_REMATCH[0]}"'
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/63758>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list