[MacPorts] #22423: radlib doesn't use MacPorts libraries

Thomas de Grivel billitch at macports.org
Mon Nov 9 20:32:40 PST 2009


(sorry, posted from wrong address)

2009/11/10 M. Brooks Clark <brooks at clarksonline.net>:
> Any suggestions for how I can get it to look for the libs in /opt/local/lib
> before it finds the ones in /usr/lib?


Would adding something like this be sufficient ?

configure.cflags-append   -I${prefix}/include
configure.ldflags-append  -L${prefix}/lib

If not I guess you will have to patch the configure script..


> On Nov 8, 2009, at 8:13 PM, MacPorts wrote:
>
>> #22423: radlib doesn't use MacPorts libraries
>>
>> -------------------------------------+--------------------------------------
>> Reporter:  ryandesign@…             |       Owner:  mbrooksclark@…
>>    Type:  defect                   |      Status:  new
>> Priority:  Normal                   |   Milestone:
>> Component:  ports                    |     Version:  1.8.1
>> Keywords:                           |        Port:  radlib
>>
>> -------------------------------------+--------------------------------------
>> radlib uses openssl, zlib, and sqlite3 from Mac OS X; it should use the
>> MacPorts version of these libraries. It should also declare a dependency
>> on the openssl port (which will bring in a dependency on the zlib port).
>>
>> {{{
>> $ port installed radlib
>> The following ports are currently installed:
>>  radlib @2.8.4_0+mysql5+sqlite3 (active)
>> }}}
>>
>> {{{
>> $ otool -L /opt/local/bin/raddebug
>> /opt/local/bin/raddebug:
>>        /opt/local/lib/librad.0.dylib (compatibility version 1.0.0,
>> current version 1.0.0)
>>        /opt/local/lib/mysql5/mysql/libmysqlclient.16.dylib (compatibility
>> version 17.0.0, current version 17.0.0)
>>        /usr/lib/libssl.0.9.8.dylib (compatibility version 0.9.8, current
>> version 0.9.8)
>>        /usr/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8,
>> current version 0.9.8)
>>        /usr/lib/libz.1.dylib (compatibility version 1.0.0, current
>> version 1.2.3)
>>        /usr/lib/libsqlite3.dylib (compatibility version 9.0.0, current
>> version 9.6.0)
>>        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
>> version 124.1.1)
>> }}}
>>
>> Mac OS X 10.6.1 [[BR]]
>> Xcode 3.2.1 [[BR]]
>> MacPorts 1.8.0
>>
>> --
>> Ticket URL: <http://trac.macports.org/ticket/22423>
>> MacPorts <http://www.macports.org/>
>> Ports system for Mac OS
>
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
>



-- 
 Thomas de Grivel
 http://b.lowh.net/billitch/


More information about the macports-dev mailing list