[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: subversion 1.9.2 could not be built "all-static" on FreeBSD 10+

From: Lev Serebryakov <lev_at_FreeBSD.org>
Date: Mon, 19 Oct 2015 14:54:40 +0300

On 19.10.2015 14:45, Philip Martin wrote:

>>> Requires.private:
>>> Libs: -L${libdir} -lserf-${SERF_MAJOR_VERSION}
>>> Libs.private: -L/usr/local/lib -R/usr/local/lib -laprutil-1 -ldb-5.3
>> -lgdbm
>>> -lexpat -L/usr/local/lib -R/usr/local/lib -lapr-1 -lcrypt -lpthread -lz
>>> -L/usr/lib -lssl -lcrypto
>>> Cflags: -I${includedir}
>>> ]]
>>
>> And now including dev_at_serf, as I think this should be fixed there:
>>
>> It looks like serf gets these flags from:
>> $ apr-1-config --link-libtool
>
> I have the same on my FreeBSD box, but Subversion's configure doesn't
> use link-libtool so the -R doesn't propagate into Subversion's Makefile:
>
> $ pkgconf serf-1 --cflags
> -I/usr/local/include/serf-1
> $ pkgconf serf-1 --libs-only-l
> -lserf-1
> $ pkgconf serf-1 --libs
> -L/usr/local/lib -lserf-1
> $ apr-1-config --link-libtool
> -L/usr/local/lib -R/usr/local/lib -lapr-1
 Nope. It will be

pkg-config --static serf-1 --libs

  and it get me this bogus -R flag :(

-- 
// Lev Serebryakov
Received on 2015-10-19 13:54:53 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.