Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2012 21:55:59 +0700 (NOVT)
From:      Eugene Grosbein <eugen@eg.sd.rdtc.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/173837: [patch] www/libecap not found by squid32
Message-ID:  <201211221455.qAMEtxNL027877@eg.sd.rdtc.ru>
Resent-Message-ID: <201211221500.qAMF001B095866@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         173837
>Category:       ports
>Synopsis:       [patch] www/libecap not found by squid32
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 22 15:00:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Eugene Grosbein
>Release:        FreeBSD 8.3-STABLE i386
>Organization:
RDTC JSC
>Environment:
System: FreeBSD eg.sd.rdtc.ru 8.3-STABLE FreeBSD 8.3-STABLE #51: Wed Jun 13 12:30:15 NOVT 2012 root@eg.sd.rdtc.ru:/usr/local/obj/usr/local/src/sys/EG i386

>Description:
	libecap-0.2.0 installs libecap.pc to /usr/local/lib/pkgconfig/libecap.pc
	but our pkgconf looks for /usr/local/libdata/pkgconfig/libecap.pc only.

	So, www/squid32 cannot be built with ECAP option enabled,
	it cannot find libecap.

>How-To-Repeat:

	Try to build www/squid32 port with ECAP enabled.

>Fix:

	Apply the following patch to www/libecap port:

--- Makefile.orig	2012-11-22 21:33:34.000000000 +0700
+++ Makefile	2012-11-22 21:47:40.000000000 +0700
@@ -7,6 +7,7 @@
 
 PORTNAME=	libecap
 PORTVERSION=	0.2.0
+PORTREVISION=	1
 CATEGORIES=	www security
 MASTER_SITES=	http://www.measurement-factory.com/tmp/ecap/
 
@@ -22,6 +23,8 @@
 
 PORTDOCS=	CREDITS LICENSE NOTICE README
 
+CONFIGURE_ARGS+=--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
+
 post-install:
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
--- pkg-plist.orig	2012-11-22 21:46:29.000000000 +0700
+++ pkg-plist	2012-11-22 21:46:34.000000000 +0700
@@ -30,5 +30,5 @@
 lib/libecap.la
 lib/libecap.so
 lib/libecap.so.2
-libdata/pkgconfig/libecap.pc
+lib/pkgconfig/libecap.pc
 @dirrmtry lib/pkgconfig


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211221455.qAMEtxNL027877>