[57603] trunk/dports/kde/koffice/Portfile

takanori at macports.org takanori at macports.org
Sun Sep 13 18:40:48 PDT 2009


Revision: 57603
          http://trac.macports.org/changeset/57603
Author:   takanori at macports.org
Date:     2009-09-13 18:40:45 -0700 (Sun, 13 Sep 2009)
Log Message:
-----------
koffice: Seems that koffice fails to build if port:GraphicsMagick is installed. I don't have time to fix this problem now..

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

Modified: trunk/dports/kde/koffice/Portfile
===================================================================
--- trunk/dports/kde/koffice/Portfile	2009-09-14 01:22:38 UTC (rev 57602)
+++ trunk/dports/kde/koffice/Portfile	2009-09-14 01:40:45 UTC (rev 57603)
@@ -77,6 +77,11 @@
 # --enable-pgsql --with-pgsqlincdir=${prefix}/include/pgsql8 --with-pgsqllibdir=${prefix}/lib/pgsql8 --with-pqxx-includes=${prefix}/include --with-pqxx-libraries=${prefix}/lib 
 
 use_configure       no
+pre-configure {
+    if {[file exists ${prefix}/bin/GraphicsMagick-config]} {
+        return -code error "port:GraphicsMagick prevents building koffice. Please uninstall (or deactivate) GraphicsMagick and restart the build."
+    }
+}
 
 use_parallel_build  yes
 build.env           MAKEFLAGS="-j${build.jobs}" AUTOCONF=autoconf263
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090913/b288215b/attachment.html>


More information about the macports-changes mailing list