[137093] trunk/dports/devel/libssh/Portfile

ionic at macports.org ionic at macports.org
Thu Jun 4 13:41:22 PDT 2015


Revision: 137093
          https://trac.macports.org/changeset/137093
Author:   ionic at macports.org
Date:     2015-06-04 13:41:22 -0700 (Thu, 04 Jun 2015)
Log Message:
-----------
libssh: add (default) kerberos5 variant to enable GSSApi/Kerberos support. Revbump.

Modified Paths:
--------------
    trunk/dports/devel/libssh/Portfile

Modified: trunk/dports/devel/libssh/Portfile
===================================================================
--- trunk/dports/devel/libssh/Portfile	2015-06-04 20:38:23 UTC (rev 137092)
+++ trunk/dports/devel/libssh/Portfile	2015-06-04 20:41:22 UTC (rev 137093)
@@ -7,7 +7,7 @@
 name                libssh
 epoch               1
 version             0.7.0
-revision            1
+revision            2
 master_sites        https://git.libssh.org/projects/libssh.git/snapshot/
 use_bzip2           yes
 checksums           rmd160  ab4b2fb7ce62ba900f50a3a19a2de58551ceea46 \
@@ -35,11 +35,14 @@
 depends_lib         port:openssl \
                     port:zlib
 
+default_variants    +kerberos5
+
 post-extract {
     file mkdir ${workpath}/build
 }
 
 cmake.out_of_source yes
+
 # clear configure.cppflags to prevent the cmake portgroup from adding them to
 # cflags, which breaks the build in presence of an older version, because it
 # puts -I$prefix/include before the local include directories of the port
@@ -47,8 +50,15 @@
 configure.args-append \
                     -DWITH_GCRYPT=OFF \
                     -DWITH_INTERNAL_DOC=OFF \
-                    -DWITH_LIBZ=ON
+                    -DWITH_LIBZ=ON \
+                    -DWITH_GSSAPI=OFF
 
+variant kerberos5 description {Enable GSSApi/Kerberos support} {
+    depends_lib-append      port:kerberos5
+    configure.args-replace  -DWITH_GSSAPI=OFF \
+                            -DWITH_GSSAPI=ON
+}
+
 livecheck.type      regex
 livecheck.url       http://git.libssh.org/projects/libssh.git/refs/
 livecheck.regex     ${name}-(\\d+\\.\\d+(\\.\\d+)+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150604/d223ec4c/attachment.html>


More information about the macports-changes mailing list