[MacPorts] #18074: botan-1.8.0 - wrong botan-config --libs output
#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
#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 ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * owner: mww => mww@… -- Ticket URL: <http://trac.macports.org/ticket/18074#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18074: botan-1.8.0 - wrong botan-config --libs output ----------------------------------+----------------------------------------- Reporter: tommyd@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: botan | ----------------------------------+----------------------------------------- Changes (by mww@…): * status: new => closed * resolution: => fixed Comment: Unfortunately the fix in 1.8.1 breaks the output for {{{--libs}}} again; I've added a [http://svn.macports.org/repository/macports/trunk/dports/security/botan/file... /patch-src-build-data-botan-config.in.diff pragmatic patch] that makes {{{botan-config}}} use {{{echo}}} only. -- Ticket URL: <http://trac.macports.org/ticket/18074#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts