Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#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 (3)

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Owner: changed from mww to mww@…

comment:2 Changed 16 years ago by mww@…

Resolution: fixed
Status: newclosed

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.

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.