If there is going to be a new release of apreq would it be possible to put in 
my change to the makefile such that it compiles on newer versions of Fedora?

On Nov 3, 2010, at 10:49 PM, Paul Lockaby wrote:

> On Nov 2, 2010, at 11:26 PM, Bojan Smojver wrote:
> 
>> On Tue, 2010-11-02 at 23:16 -0400, Paul Lockaby wrote:
>>> However, I do not know how to fix it. Has anyone else determined how
>>> to solve this problem? Are there plans to update libapreq2 to address
>>> this change in Fedora?
>> 
>> You may to try look at these:
>> 
>> http://pkgs.fedoraproject.org/gitweb/?p=libapreq2.git
>> 
>> Obviously, Fedora packages build, so there must be a solution there.
>> 
>> -- 
>> Bojan
>> 
> 
> Alright I think I got it to work if anyone wants to test this out or add this 
> to the source. Here is my diff.
> 
> Index: module/Makefile.in
> ===================================================================
> --- module/Makefile.in        (revision 315)
> +++ module/Makefile.in        (working copy)
> @@ -122,7 +122,7 @@
> EXTRA_DIST = t
> 
> noinst_PROGRAMS = test_cgi
> -test_cgi_LDFLAGS = `...@apreq_config@ --link-libtool`
> +test_cgi_LDFLAGS = `...@apreq_config@ --link-libtool` @APR_LDFLAGS@
> subdir = module
> mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
> CONFIG_HEADER = $(top_builddir)/include/apreq_config.h
> Index: module/Makefile.am
> ===================================================================
> --- module/Makefile.am        (revision 315)
> +++ module/Makefile.am        (working copy)
> @@ -4,7 +4,7 @@
> EXTRA_DIST = t
> 
> noinst_PROGRAMS = test_cgi
> -test_cgi_LDFLAGS =  `...@apreq_config@ --link-libtool`
> +test_cgi_LDFLAGS =  `...@apreq_config@ --link-libtool` @APR_LDFLAGS@
> 
> run_tests : t/TEST
>       if [ ! -d t/cgi-bin ]; then mkdir t/cgi-bin; fi
> 
> 

Reply via email to