Revision
108499
Author
cal@macports.org
Date
2013-07-24 14:12:45 -0700 (Wed, 24 Jul 2013)

Log Message

openssh: make sure xauth is really disabled with -xauth, enable tcpwrappers on os.major >= 12

Modified Paths

Diff

Modified: trunk/dports/net/openssh/Portfile (108498 => 108499)


--- trunk/dports/net/openssh/Portfile	2013-07-24 20:13:07 UTC (rev 108498)
+++ trunk/dports/net/openssh/Portfile	2013-07-24 21:12:45 UTC (rev 108499)
@@ -62,13 +62,14 @@
                     --mandir=${prefix}/share/man \
                     --with-zlib=${prefix} \
                     --with-kerberos5=${prefix} \
-                    --with-libedit
+                    --with-libedit \
+                    --without-xauth
 
 use_parallel_build  yes
 
 destroot.target     install-nokeys
 
-platform darwin 12 {
+if {${os.major} >= 12} {
     depends_lib-append  port:tcp_wrappers
 }
 
@@ -93,6 +94,7 @@
 default_variants +xauth
 
 variant xauth description {Build with support for xauth} {
+    configure.args-delete   --without-xauth
     configure.args-append   --with-xauth=${prefix}/bin/xauth
     depends_run-append      port:xauth
 }