fix cflags in the pkg-config file

This commit is contained in:
robert 2012-10-09 16:23:15 +00:00
parent dd671692ea
commit 99e4a90b94
2 changed files with 7 additions and 6 deletions

View File

@ -1,9 +1,11 @@
# $OpenBSD: Makefile,v 1.7 2012/08/30 18:41:09 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.8 2012/10/09 16:23:15 robert Exp $
COMMENT = full-text search engine library
CATEGORIES = textproc
DISTNAME = clucene-core-2.3.3.4
REVISION = 0
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=clucene/}
HOMEPAGE = http://clucene.sourceforge.net/

View File

@ -1,15 +1,14 @@
$OpenBSD: patch-src_core_libclucene-core_pc_cmake,v 1.1 2012/08/30 18:41:09 ajacoutot Exp $
$OpenBSD: patch-src_core_libclucene-core_pc_cmake,v 1.2 2012/10/09 16:23:15 robert Exp $
https://sourceforge.net/tracker/?func=detail&aid=3461512&group_id=80013&atid=558446
--- src/core/libclucene-core.pc.cmake.orig Thu Mar 17 01:21:07 2011
+++ src/core/libclucene-core.pc.cmake Thu Aug 30 16:47:45 2012
+++ src/core/libclucene-core.pc.cmake Tue Oct 9 17:52:30 2012
@@ -6,6 +6,5 @@ includedir=${prefix}/include:${prefix}/include/CLucene
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
-Cflags: -I${prefix}/include -I${prefix}/include/CLucene/ext
-~
+Libs: -L${prefix}/@LIB_DESTINATION@/ -lclucene-core -lclucene-shared
+Cflags: -I${prefix}/include -I${prefix}/include/CLucene/ext -I@LUCENE_SYS_INCLUDES@
Cflags: -I${prefix}/include -I${prefix}/include/CLucene/ext
-~