[135767] trunk/dports/kde/kde4-runtime/Portfile
nicos at macports.org
nicos at macports.org
Fri May 1 23:32:56 PDT 2015
Revision: 135767
https://trac.macports.org/changeset/135767
Author: nicos at macports.org
Date: 2015-05-01 23:32:56 -0700 (Fri, 01 May 2015)
Log Message:
-----------
kde4-runtime: make use of samba3 a default variant
Modified Paths:
--------------
trunk/dports/kde/kde4-runtime/Portfile
Modified: trunk/dports/kde/kde4-runtime/Portfile
===================================================================
--- trunk/dports/kde/kde4-runtime/Portfile 2015-05-02 05:58:58 UTC (rev 135766)
+++ trunk/dports/kde/kde4-runtime/Portfile 2015-05-02 06:32:56 UTC (rev 135767)
@@ -10,6 +10,7 @@
name kde4-runtime
version 4.14.4.20150225
+revision 1
categories kde kde4
maintainers nicos
license GPL-2+ LGPL-2.1+
@@ -21,6 +22,8 @@
master_sites kde:stable/${version}/src/
use_xz yes
+default_variants +samba
+
#Binaries do not link directly to openssl, nor use the ssl backend of kdelibs4,
#nor links to libkimap or libmailtransport from kdepimlibs4
license_noconflict openssl
@@ -47,7 +50,6 @@
port:raptor2 \
port:webp \
port:bison \
- port:samba3 \
port:shared-mime-info \
port:gpgme port:attica \
port:libgcrypt port:openexr \
@@ -66,7 +68,6 @@
-DWITH_ALSA=OFF \
-DWITH_QZeitgeist=OFF \
-DWITH_QNtrack=OFF \
- -DWITH_Samba=ON \
-DKDEBASE_DISABLE_MULTIMEDIA=OFF \
-DKDERUNTIME_BUILD_NEPOMUK=ON
@@ -81,6 +82,15 @@
universal_variant no
}
+variant samba description "Activate use of samba" {
+ depends_lib-append port:samba3
+}
+if {![variant_isset samba]} {
+ configure.args-append -DWITH_Samba=OFF
+} else {
+ configure.args-append -DWITH_Samba=ON
+}
+
configure.args-append -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DCMAKE_STRIP:FILEPATH=/bin/echo
post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150501/10bf0ddb/attachment.html>
More information about the macports-changes
mailing list