Opened 3 years ago
Closed 3 years ago
#63758 closed defect (fixed)
libcaca @0.99.beta20_0: syntax error near `=~' during configure (10.4.11)
Reported by: | evanmiller (Evan Miller) | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | tiger | Cc: | mascguy (Christopher Nielsen) |
Port: | libcaca |
Description
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]}"'
Attachments (1)
Change History (4)
Changed 3 years ago by evanmiller (Evan Miller)
Attachment: | libcaca-main.log added |
---|
comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 3 years ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|
comment:3 Changed 3 years ago by evanmiller (Evan Miller)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Indeed, the bash regular expression operator
=~
was introduced in bash 3. Tiger has bash 2.