[122819] trunk/dports/security/putty/Portfile

khindenburg at macports.org khindenburg at macports.org
Wed Jul 30 20:02:29 PDT 2014


Revision: 122819
          https://trac.macports.org/changeset/122819
Author:   khindenburg at macports.org
Date:     2014-07-30 20:02:29 -0700 (Wed, 30 Jul 2014)
Log Message:
-----------
putty: add +gui variant to allow building w/o gtk2 dependency #43942

Modified Paths:
--------------
    trunk/dports/security/putty/Portfile

Modified: trunk/dports/security/putty/Portfile
===================================================================
--- trunk/dports/security/putty/Portfile	2014-07-31 02:56:25 UTC (rev 122818)
+++ trunk/dports/security/putty/Portfile	2014-07-31 03:02:29 UTC (rev 122819)
@@ -24,13 +24,19 @@
 
 depends_build       port:pkgconfig
 
-depends_lib         port:gtk2
-
 worksrcdir          ${worksrcdir}/unix
 
 patchfiles          patch-Makefile.in.diff \
                     patch-configure.diff
 
+variant gui description {Build the GUI tools (including putty itself)} {
+    depends_lib-append    port:gtk2
+    configure.args-delete --without-gtk
+}
+
+default_variants +gui
+
+configure.args-append     --without-gtk
 configure.cppflags-delete -I${prefix}/include
 configure.cppflags-append -isystem${prefix}/include
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140730/534f1e61/attachment.html>


More information about the macports-changes mailing list