[67173] trunk/dports/kde/kdelibs4

snc at macports.org snc at macports.org
Fri Apr 30 09:07:38 PDT 2010


Revision: 67173
          http://trac.macports.org/changeset/67173
Author:   snc at macports.org
Date:     2010-04-30 09:07:33 -0700 (Fri, 30 Apr 2010)
Log Message:
-----------
disable some unrequested features even if deps are available

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

Added Paths:
-----------
    trunk/dports/kde/kdelibs4/files/patch-disable-liblzma.diff
    trunk/dports/kde/kdelibs4/files/patch-disable-shared-desktop-ontologies.diff

Modified: trunk/dports/kde/kdelibs4/Portfile
===================================================================
--- trunk/dports/kde/kdelibs4/Portfile	2010-04-30 15:47:49 UTC (rev 67172)
+++ trunk/dports/kde/kdelibs4/Portfile	2010-04-30 16:07:33 UTC (rev 67173)
@@ -6,6 +6,7 @@
 
 name                kdelibs4
 version             4.4.2
+revision            1
 categories          kde kde4
 maintainers         snc sharky
 description         KDE4 core libraries
@@ -72,10 +73,16 @@
 variant shared_desktop_ontologies description {Ontologies necessary for the Nepomuk semantic desktop} {
     depends_lib-append port:shared-desktop-ontologies
 }
+if {![variant_isset shared_desktop_ontologies]} {
+    patchfiles-append patch-disable-shared-desktop-ontologies.diff
+}
 
 variant liblzma description {Provides the ability to read and write xz compressed data files} {
     depends_lib-append port:liblzma
 }
+if {![variant_isset liblzma]} {
+    patchfiles-append patch-disable-liblzma.diff
+}
 
 livecheck.url       http://kde.mirrors.hoobly.com/stable/latest/src/
 livecheck.regex     kdelibs-(\\d+\\.\\d+\\.\\d+)

Added: trunk/dports/kde/kdelibs4/files/patch-disable-liblzma.diff
===================================================================
--- trunk/dports/kde/kdelibs4/files/patch-disable-liblzma.diff	                        (rev 0)
+++ trunk/dports/kde/kdelibs4/files/patch-disable-liblzma.diff	2010-04-30 16:07:33 UTC (rev 67173)
@@ -0,0 +1,11 @@
+--- kdelibs-4.4.2/CMakeLists.txt.orig	2010-04-30 11:58:10.000000000 -0400
++++ kdelibs-4.4.2/CMakeLists.txt	2010-04-30 11:58:20.000000000 -0400
+@@ -81,7 +81,7 @@
+ macro_optional_find_package(BZip2)
+ macro_log_feature(BZIP2_FOUND "BZip2" "A high-quality data compressor" "http://www.bzip.org" FALSE "" "STRONGLY RECOMMENDED: Provides the ability to read and write bzip2 compressed data files.")
+ 
+-macro_optional_find_package(LibLZMA)
++#macro_optional_find_package(LibLZMA)
+ macro_log_feature(LIBLZMA_FOUND "LZMA/XZ" "A very high compression ratio data compressor" "http://tukaani.org/xz/" FALSE "" "Provides the ability to read and write xz compressed data files.")
+ 
+ macro_optional_find_package(OpenSSL)

Added: trunk/dports/kde/kdelibs4/files/patch-disable-shared-desktop-ontologies.diff
===================================================================
--- trunk/dports/kde/kdelibs4/files/patch-disable-shared-desktop-ontologies.diff	                        (rev 0)
+++ trunk/dports/kde/kdelibs4/files/patch-disable-shared-desktop-ontologies.diff	2010-04-30 16:07:33 UTC (rev 67173)
@@ -0,0 +1,11 @@
+--- kdelibs-4.4.2/CMakeLists.txt.orig	2010-04-30 11:48:26.000000000 -0400
++++ kdelibs-4.4.2/CMakeLists.txt	2010-04-30 11:48:40.000000000 -0400
+@@ -99,7 +99,7 @@
+ macro_log_feature(SOPRANO_PLUGIN_RAPTORPARSER_FOUND "Soprano Raptor Parser" "RDF parser plugin for Soprano" "http://soprano.sourceforge.net" FALSE "" "The Soprano raptor parser plugin is required to build the Nepomuk semantic desktop system.")
+ macro_log_feature(SOPRANO_PLUGIN_REDLANDBACKEND_FOUND "Soprano Redland Backend" "Redland storage backend for Soprano" "http://soprano.sourceforge.net" FALSE "" "The Soprano redland backend is required to build the Nepomuk semantic desktop system.")
+ 
+-macro_optional_find_package(SharedDesktopOntologies)
++#macro_optional_find_package(SharedDesktopOntologies)
+ macro_log_feature(SHAREDDESKTOPONTOLOGIES_FOUND "Shared desktop ontologies" "Desktop ontologies" "http://oscaf.sourceforge.net" FALSE "" "Ontologies necessary for the Nepomuk semantic desktop.")
+ 
+ macro_optional_find_package(QCA2)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100430/9b01902c/attachment.html>


More information about the macports-changes mailing list