[153613] trunk/dports/kde/kmymoney4-devel/Portfile

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


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

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

Modified: trunk/dports/kde/kmymoney4-devel/Portfile
===================================================================
--- trunk/dports/kde/kmymoney4-devel/Portfile	2016-10-05 21:53:16 UTC (rev 153612)
+++ trunk/dports/kde/kmymoney4-devel/Portfile	2016-10-05 21:59:01 UTC (rev 153613)
@@ -11,7 +11,7 @@
 git.branch          59e9ed1cb826e8af06e3fa7c973b55ba00eab05b
 
 name                kmymoney4-devel
-version             4.8-20160125
+version             4.8-20161005
 
 categories          kde kde4 finance
 maintainers         mk pixilla openmaintainer
@@ -41,12 +41,19 @@
 
 patch.dir         ${workpath}/${distname}
 patch.pre_args    -p1
-patchfiles        patch-mainRaster.diff
+patchfiles        patch-mainRaster.diff \
+                  patch-CMakeLists_QGPGME.txt.diff
 
 if {![variant_isset docs]} {
     patchfiles-append   patch_remove_manpage.diff patch-CMakeLists_remove_APIDOC.txt.diff
 }
 
+# This is needed for patch-CMakeLists_QGPGME.txt.diff:
+pre-configure {
+    reinplace "s|%PREFIX%|${prefix}|g" \
+        ${worksrcpath}/CMakeLists.txt
+}
+
 configure.args-append   -DENABLE_KBANKING=ON \
                         -DKDE4_BUILD_TESTS=OFF
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161005/a1ae93b1/attachment-0002.html>


More information about the macports-changes mailing list