pkg-config fails for www/serf
olli hauer
ohauer at gmx.de
Sat Nov 3 10:12:05 UTC 2012
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}
More information about the freebsd-apache
mailing list