Fix pkgconfig files.
PR: 254315 Reported by: Olga Smirnova Submitted by: rodrigo
This commit is contained in:
parent
ef8598e917
commit
efaa198b60
@ -1,5 +1,6 @@
|
||||
PORTNAME= lucene++
|
||||
PORTVERSION= 3.0.8
|
||||
PORTREVISION= 1
|
||||
DISTVERSIONPREFIX= rel_
|
||||
CATEGORIES= textproc
|
||||
|
||||
|
@ -0,0 +1,18 @@
|
||||
--- src/config/contrib/liblucene++-contrib.pc.in.orig
|
||||
+++ src/config/contrib/liblucene++-contrib.pc.in
|
||||
@@ -1,13 +1,12 @@
|
||||
prefix=@CMAKE_INSTALL_PREFIX@
|
||||
exec_prefix=${prefix}/bin
|
||||
-libdir=@LIB_DESTINATION@
|
||||
+libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
|
||||
includedir=${prefix}/include/lucene++
|
||||
lib=lucene++-contrib
|
||||
|
||||
Name: liblucene++-contrib
|
||||
Description: Contributions for Lucene++ - a C++ search engine, ported from the popular Apache Lucene
|
||||
Version: @lucene++_VERSION@
|
||||
-Libs: -L@LIB_DESTINATION@ -l${lib}
|
||||
+Libs: -L${libdir} -l${lib}
|
||||
Cflags: -I${includedir}
|
||||
Requires: liblucene++ = @lucene++_VERSION@
|
||||
-
|
@ -0,0 +1,17 @@
|
||||
--- src/config/core/liblucene++.pc.in.orig
|
||||
+++ src/config/core/liblucene++.pc.in
|
||||
@@ -1,12 +1,11 @@
|
||||
prefix=@CMAKE_INSTALL_PREFIX@
|
||||
exec_prefix=${prefix}/bin
|
||||
-libdir=@LIB_DESTINATION@
|
||||
+libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
|
||||
includedir=${prefix}/include/lucene++
|
||||
lib=lucene++
|
||||
|
||||
Name: liblucene++
|
||||
Description: Lucene++ - a C++ search engine, ported from the popular Apache Lucene
|
||||
Version: @lucene++_VERSION@
|
||||
-Libs: -L@LIB_DESTINATION@ -l${lib}
|
||||
+Libs: -L${libdir} -l${lib}
|
||||
Cflags: -I${includedir}
|
||||
-
|
Loading…
Reference in New Issue
Block a user