Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jan 2014 03:06:01 GMT
From:      Olivier <bugs-freebsd@interfasys.ch>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/185567: textproc/clucene: pkgconfig file is missing clucene-contribs-lib
Message-ID:  <201401080306.s08361If094812@oldred.freebsd.org>
Resent-Message-ID: <201401080310.s083A0Ca028284@freefall.freebsd.org>

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

>Number:         185567
>Category:       ports
>Synopsis:       textproc/clucene: pkgconfig file is missing clucene-contribs-lib
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 08 03:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Olivier
>Release:        9.2
>Organization:
interfaSys sàrl
>Environment:
9.2-RELEASE-p2 FreeBSD 9.2-RELEASE-p2 #0 r259303 amd64
>Description:
A year ago textproc/clucene-contrib was integrated into textproc/clucene, but the pkgconfig patch was not updated to include the new library.
>How-To-Repeat:
# pkg-config --libs "libclucene-core"
-L/usr/local/lib/ -lclucene-core -lclucene-shared 
>Fix:
This patch replaces patch-src__core__libclucene-core.pc.cmake
---
 src/core/libclucene-core.pc.cmake |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/core/libclucene-core.pc.cmake b/src/core/libclucene-core.pc.cmake
index 0152b25..d421e70 100644
--- a/src/core/libclucene-core.pc.cmake
+++ b/src/core/libclucene-core.pc.cmake
@@ -6,6 +6,6 @@ includedir=${prefix}/include:${prefix}/include/CLucene/ext
 Name: libclucene
 Description: CLucene - a C++ search engine, ported from the popular Apache Lucene
 Version: @CLUCENE_VERSION_MAJOR@.@CLUCENE_VERSION_MINOR@.@CLUCENE_VERSION_REVISION@.@CLUCENE_VERSION_PATCH@
-Libs: -L${prefix}/@LIB_DESTINATION@/ -lclucene-core
+Libs: -L${prefix}/@LIB_DESTINATION@/ -lclucene-core -lclucene-shared -lclucene-contribs-lib
 Cflags: -I${prefix}/include -I${prefix}/include/CLucene/ext
 ~

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



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