Date: Sat, 03 Nov 2012 11:12:13 +0100 From: olli hauer <ohauer@gmx.de> To: Maho NAKATA <maho@apache.org> Cc: office@freebsd.org, apache@FreeBSD.org Subject: Re: pkg-config fails for www/serf Message-ID: <5094EDFD.3080006@gmx.de> In-Reply-To: <20121103.171038.2304170249619737993.maho@apache.org> References: <20121103.171038.2304170249619737993.maho@apache.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5094EDFD.3080006>