Ticket #18074 (closed defect: fixed)
botan-1.8.0 - wrong botan-config --libs output
| Reported by: | tommyd@… | Owned by: | mww@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.0 |
| Keywords: | Cc: | lloyd@… | |
| Port: | botan |
Description
This seems to be an upstream bug, actually. Executing botan-config --libs results under 10.5.6 in the output
-n -L/opt/local/lib -lm -lpthread -lbotan
where the correct output should be
-L/opt/local/lib -lm -lpthread -lbotan
This is because the OSX sh built-in echo does not support the -n option which suppresses the newline character. I guess one could / should use a simple printf in botan-config.
Should we patch that or should we wait for upstream? The author of botan is in CC.
Change History
comment:2 Changed 4 years ago by mww@…
- Status changed from new to closed
- Resolution set to fixed
Unfortunately the fix in 1.8.1 breaks the output for --libs again; I've added a pragmatic patch that makes botan-config use echo only.
Note: See
TracTickets for help on using
tickets.

