1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/finance/alkimia/files/patch-src_libalkimia.pc.in
Jason E. Hale 82be780a05 - Move finance/libalkimia -> finance/alkimia to follow upstream project name
- Update to 7.0.1
- finance/alkimia is the Qt 5 version for the upcoming kf5 version of KMyMoney
- finance/alkimia-qt4 is the Qt 4 version for the kde4 version of KMyMoney
- Fix LICENSE
- Default multi-precision library is now MPIR upstream, but an option has
  been added if you wish to use GMP instead
- Add regression test support
- Adjust finance/kmymoney to use the new version

While here:
- Add a patch to finance/kmymoney to fix a possible build failure when
  kmymoneysettings.h is not generated early enough.
2018-04-13 13:16:46 +00:00

26 lines
820 B
PkgConfig

--- src/libalkimia.pc.in.orig 2018-03-15 19:28:26 UTC
+++ src/libalkimia.pc.in
@@ -3,9 +3,9 @@
# General installation directories
prefix=@CMAKE_INSTALL_PREFIX@
-exec_prefix=@CMAKE_INSTALL_PREFIX@
-libdir=@KDE4_LIB_DIR@
-includedir=@INCLUDE_INSTALL_DIR@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/@LIB_INSTALL_DIR@
+includedir=${prefix}/@INCLUDE_INSTALL_DIR@
# Human-readable name
Name: Alkimia
@@ -13,7 +13,7 @@ Name: Alkimia
Description: A library for financial data handling
Version: @ALKIMIA_LIB_VERSION@
-Libs: -lalkimia@PC_TARGET_SUFFIX@
-Libs.private: -l@PC_LIB@ -l@PC_TARGET_QTPREFIX@Core -l@PC_TARGET_QTPREFIX@DBus -lstdc++
+Libs: -L${libdir} -lalkimia@PC_TARGET_SUFFIX@
+Libs.private: -l@PC_LIB@ -l@PC_TARGET_QTPREFIX@Core -l@PC_TARGET_QTPREFIX@DBus
Cflags: -I${includedir} -I@MP_INCLUDE_DIR@