pkg-config fails for www/serf

Maho NAKATA chat95 at mac.com
Sat Nov 3 22:20:37 UTC 2012


Hi olli hauer

Thanks for quick reply.

> Try by removing the "Requires.private" line
>  in /usr/local/libdata/pkgconfig/serf-1.pc
> 
> If this is working for you I could commit the following patch.

Please commit. My tinderbox build of editors/openoffice-3-devel was succesful! 

> Even bumping PORTREVISION should be necessary I want to avoid a bump
> for this trivial fix since this will force rebuilding openoffice ...
Not a problem, it applies to a -devel port so that editors/openoffice-3-devel
port should be frequently rebuilt, and bumping portrevision to editors/openoffice-3-devel
is not necessary as this port does not use www/serf currently (I added this dependency
by mistake).

Thanks
 Nakata Maho

From: olli hauer <ohauer at gmx.de>
Subject: Re: pkg-config fails for www/serf
Date: Sat, 03 Nov 2012 11:12:13 +0100

> On 2012-11-03 09:10, Maho NAKATA wrote:
>> Hi maintainer of /usr/ports/www/serf
>> 
>> When I tried following, I encountered the following error.
>> Could you please fix?
>>  
>> $ pkg-config --cflags --exists "serf-1 >= 1.1"
>> Package libssl was not found in the pkg-config search path.
>> Perhaps you should add the directory containing `libssl.pc'
>> to the PKG_CONFIG_PATH environment variable
>> No package 'libssl' found
>> 
>> Thanks
>> -- Nakata Maho http://accc.riken.jp/maho/ , JA OOO http://ja.openoffice.org/
>> http://blog.goo.ne.jp/nakatamaho/ ,GPG: http://accc.riken.jp/maho/maho.pgp.txt
> 
> 
> 
> Hi Nakata Maho,
> 
> I don't see a reason why serf registers "Requires.private" in serf-1.pc
> 
> Try by removing the "Requires.private" line
>  in /usr/local/libdata/pkgconfig/serf-1.pc
> 
> If this is working for you I could commit the following patch.
> 
> Even bumping PORTREVISION should be necessary I want to avoid a bump
> for this trivial fix since this will force rebuilding openoffice ...
> 
> 
> Index: serf/Makefile
> ===================================================================
> --- serf/Makefile       (revision 306901)
> +++ serf/Makefile       (working copy)
> @@ -23,6 +23,9 @@
>  CONFIGURE_ARGS+=       --with-apr=${LOCALBASE}/bin/apr-1-config \
>                         --with-apr-util=${LOCALBASE}/bin/apu-1-config
> 
> +post-patch:
> +       ${REINPLACE_CMD} -e '/^Requires.private/d' ${WRKSRC}/serf.pc.in
> +
>  post-install:
>  .if !defined(NOPORTDOCS)
>         ${MKDIR} ${DOCSDIR}
> _______________________________________________
> freebsd-office at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-office
> To unsubscribe, send any mail to "freebsd-office-unsubscribe at freebsd.org"
> 


More information about the freebsd-apache mailing list