[84933] trunk/dports/x11/wine-devel/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Oct 4 17:23:40 PDT 2011


Revision: 84933
          http://trac.macports.org/changeset/84933
Author:   ryandesign at macports.org
Date:     2011-10-04 17:23:37 -0700 (Tue, 04 Oct 2011)
Log Message:
-----------
wine-devel: remove gnutls dependency except on Darwin 8; see #29909

Modified Paths:
--------------
    trunk/dports/x11/wine-devel/Portfile

Modified: trunk/dports/x11/wine-devel/Portfile
===================================================================
--- trunk/dports/x11/wine-devel/Portfile	2011-10-04 23:22:47 UTC (rev 84932)
+++ trunk/dports/x11/wine-devel/Portfile	2011-10-05 00:23:37 UTC (rev 84933)
@@ -46,7 +46,6 @@
 depends_lib                 port:expat \
                             port:fontconfig \
                             port:freetype \
-                            port:gnutls \
                             port:jpeg \
                             port:lcms \
                             port:libiconv \
@@ -70,7 +69,6 @@
 archcheck.files             lib/libexpat.dylib \
                             lib/libfontconfig.dylib \
                             lib/libfreetype.dylib \
-                            lib/libgnutls.dylib \
                             lib/libjpeg.dylib \
                             lib/liblcms.dylib \
                             lib/libiconv.dylib \
@@ -108,7 +106,7 @@
                             --with-freetype \
                             --without-gphoto \
                             --with-glu \
-                            --with-gnutls \
+                            --without-gnutls \
                             --without-gsm \
                             --without-hal \
                             --without-jack \
@@ -155,6 +153,15 @@
     }
 }
 
+platform darwin 8 {
+    # Wine uses the Security framework on Leopard and up.
+    # See http://bugs.winehq.org/show_bug.cgi?id=26643
+    depends_lib-append port:gnutls
+    archcheck.files-append lib/libgnutls.dylib
+    configure.args-delete --without-gnutls
+    configure.args-append --with-gnutls
+}
+
 platform darwin 9 {
     # Fix "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support."
     # Only affects Xcode 3.0.x and 3.1.x, not 3.2.x.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111004/c82c7d2c/attachment.html>


More information about the macports-changes mailing list