git: efaa198b606e - main - Fix pkgconfig files.
Tilman Keskinoz
arved at FreeBSD.org
Mon Apr 12 07:52:52 UTC 2021
The branch main has been updated by arved:
URL: https://cgit.FreeBSD.org/ports/commit/?id=efaa198b606e6f38c34d5b3f2acd12686f6ad455
commit efaa198b606e6f38c34d5b3f2acd12686f6ad455
Author: Tilman Keskinoz <arved at FreeBSD.org>
AuthorDate: 2021-04-12 07:51:30 +0000
Commit: Tilman Keskinoz <arved at FreeBSD.org>
CommitDate: 2021-04-12 07:51:30 +0000
Fix pkgconfig files.
PR: 254315
Reported by: Olga Smirnova
Submitted by: rodrigo
---
textproc/luceneplusplus/Makefile | 1 +
.../patch-src_config_contrib_liblucene++-contrib.pc.in | 18 ++++++++++++++++++
.../files/patch-src_config_core_liblucene++.pc.in | 17 +++++++++++++++++
3 files changed, 36 insertions(+)
diff --git a/textproc/luceneplusplus/Makefile b/textproc/luceneplusplus/Makefile
index 4d39574bb677..af028a043668 100644
--- a/textproc/luceneplusplus/Makefile
+++ b/textproc/luceneplusplus/Makefile
@@ -1,5 +1,6 @@
PORTNAME= lucene++
PORTVERSION= 3.0.8
+PORTREVISION= 1
DISTVERSIONPREFIX= rel_
CATEGORIES= textproc
diff --git a/textproc/luceneplusplus/files/patch-src_config_contrib_liblucene++-contrib.pc.in b/textproc/luceneplusplus/files/patch-src_config_contrib_liblucene++-contrib.pc.in
new file mode 100644
index 000000000000..8d1620d8c5d6
--- /dev/null
+++ b/textproc/luceneplusplus/files/patch-src_config_contrib_liblucene++-contrib.pc.in
@@ -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 at LIB_DESTINATION@ -l${lib}
++Libs: -L${libdir} -l${lib}
+ Cflags: -I${includedir}
+ Requires: liblucene++ = @lucene++_VERSION@
+-
diff --git a/textproc/luceneplusplus/files/patch-src_config_core_liblucene++.pc.in b/textproc/luceneplusplus/files/patch-src_config_core_liblucene++.pc.in
new file mode 100644
index 000000000000..2bfc591d47c3
--- /dev/null
+++ b/textproc/luceneplusplus/files/patch-src_config_core_liblucene++.pc.in
@@ -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 at LIB_DESTINATION@ -l${lib}
++Libs: -L${libdir} -l${lib}
+ Cflags: -I${includedir}
+-
More information about the dev-commits-ports-all
mailing list