[MacPorts] #18074: botan-1.8.0 - wrong botan-config --libs output

MacPorts noreply at macports.org
Sat Jan 17 15:31:37 PST 2009


#18074: botan-1.8.0 - wrong botan-config --libs output
---------------------------------+------------------------------------------
 Reporter:  tommyd@…             |       Owner:  mww      
     Type:  defect               |      Status:  new      
 Priority:  Normal               |   Milestone:  Port Bugs
Component:  ports                |     Version:  1.7.0    
 Keywords:                       |        Port:  botan    
---------------------------------+------------------------------------------
 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.

-- 
Ticket URL: <http://trac.macports.org/ticket/18074>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list