From owner-freebsd-office@FreeBSD.ORG Sat Nov 3 10:12:05 2012 Return-Path: Delivered-To: office@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D601A8DC for ; Sat, 3 Nov 2012 10:12:05 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by mx1.freebsd.org (Postfix) with SMTP id 29DA48FC14 for ; Sat, 3 Nov 2012 10:12:04 +0000 (UTC) Received: (qmail invoked by alias); 03 Nov 2012 10:12:04 -0000 Received: from p578be941.dip0.t-ipconnect.de (EHLO [192.168.0.100]) [87.139.233.65] by mail.gmx.net (mp039) with SMTP; 03 Nov 2012 11:12:04 +0100 X-Authenticated: #1956535 X-Provags-ID: V01U2FsdGVkX18z+xFqY5UzLzBidLqz4lNuw/nJzVceA2Kgm9YwXE Mvss4m7xW3ubaj Message-ID: <5094EDFD.3080006@gmx.de> Date: Sat, 03 Nov 2012 11:12:13 +0100 From: olli hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Maho NAKATA Subject: Re: pkg-config fails for www/serf References: <20121103.171038.2304170249619737993.maho@apache.org> In-Reply-To: <20121103.171038.2304170249619737993.maho@apache.org> X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: office@freebsd.org, apache@FreeBSD.org X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2012 10:12:05 -0000 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}