[153611] trunk/dports/kde/kmymoney4

mk at macports.org mk at macports.org
Wed Oct 5 23:49:01 CEST 2016


Revision: 153611
          https://trac.macports.org/changeset/153611
Author:   mk at macports.org
Date:     2016-10-05 14:49:00 -0700 (Wed, 05 Oct 2016)
Log Message:
-----------
kmymoney4: fix for finding KDE4's own gpgme, as MacPorts' version isn't suitable

Modified Paths:
--------------
    trunk/dports/kde/kmymoney4/Portfile

Added Paths:
-----------
    trunk/dports/kde/kmymoney4/files/patch-CMakeLists_QGPGME.txt.diff

Modified: trunk/dports/kde/kmymoney4/Portfile
===================================================================
--- trunk/dports/kde/kmymoney4/Portfile	2016-10-05 21:44:19 UTC (rev 153610)
+++ trunk/dports/kde/kmymoney4/Portfile	2016-10-05 21:49:00 UTC (rev 153611)
@@ -8,7 +8,7 @@
 
 name                kmymoney4
 version             4.7.2
-revision            2
+revision            3
 
 categories          kde kde4 finance
 maintainers         mk pixilla openmaintainer
@@ -45,7 +45,8 @@
 
 patch.dir           ${workpath}/${distname}
 patch.pre_args      -p1
-patchfiles          patch-mainRaster.diff
+patchfiles          patch-mainRaster.diff \
+                    patch-CMakeLists_QGPGME.txt.diff
 #
 # OK, let's try building with documentation and see whether we end up with meinproc crashing again:
 #
@@ -53,3 +54,7 @@
 #                    patch-CMakeLists_remove_APIDOC.txt.diff \
 #                    patch_remove_manpage_and_APIDOC.diff \
 
+pre-configure {
+    reinplace "s|%PREFIX%|${prefix}|g" \
+    ${worksrcpath}/CMakeLists.txt
+}

Added: trunk/dports/kde/kmymoney4/files/patch-CMakeLists_QGPGME.txt.diff
===================================================================
--- trunk/dports/kde/kmymoney4/files/patch-CMakeLists_QGPGME.txt.diff	                        (rev 0)
+++ trunk/dports/kde/kmymoney4/files/patch-CMakeLists_QGPGME.txt.diff	2016-10-05 21:49:00 UTC (rev 153611)
@@ -0,0 +1,18 @@
+*** kmymoney-4.7.2/CMakeLists.txt	Sat Apr 25 19:20:16 2015
+--- kmymoney-4.7.2/CMakeLists.txt	Wed Oct  5 23:14:44 2016
+***************
+*** 70,75 ****
+--- 70,82 ----
+  endif (WIN32)
+  # needed by libkgpgfile
+  find_package(QGpgme REQUIRED)
++ 
++ # This is specific for MacPorts, as it ships a newer version of gpgme (1.7.0)
++ if (QGPGME_FOUND) 
++   set(GPGME_INCLUDES "%PREFIX%/include/kde4")
++   include_directories(${GPGME_INCLUDES})
++ endif (QGPGME_FOUND) 
++ 
+  find_package(KdepimLibs REQUIRED)
+  find_package(SharedMimeInfo REQUIRED)
+  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161005/6fdaca77/attachment-0002.html>


More information about the macports-changes mailing list