[34174] trunk/dports/net/lftp

simon at macports.org simon at macports.org
Sat Feb 16 08:28:35 PST 2008


Revision: 34174
          http://trac.macosforge.org/projects/macports/changeset/34174
Author:   simon at macports.org
Date:     2008-02-16 08:28:34 -0800 (Sat, 16 Feb 2008)

Log Message:
-----------
net/lftp: Added fix for 100% CPU bug on Leopard, closes #13259; added yunzheng.hu at gmail.com as maintainer. Thanks for his help.

Modified Paths:
--------------
    trunk/dports/net/lftp/Portfile

Added Paths:
-----------
    trunk/dports/net/lftp/files/patch-configure.diff

Modified: trunk/dports/net/lftp/Portfile
===================================================================
--- trunk/dports/net/lftp/Portfile	2008-02-16 16:21:28 UTC (rev 34173)
+++ trunk/dports/net/lftp/Portfile	2008-02-16 16:28:34 UTC (rev 34174)
@@ -4,9 +4,10 @@
 
 name                lftp
 version             3.6.1
+revision            1
 categories          net
 platforms           darwin
-maintainers         nomaintainer
+maintainers         yunzheng.hu at gmail.com
 
 description         Sophisticated file transfer program
 long_description    Lftp is a shell-like command line ftp client. It is \
@@ -54,6 +55,13 @@
         ${docdir}
 }
 
+platform darwin 9 {
+    # Fix for the 100% cpu issue on Leopard.
+    patchfiles-append       patch-configure.diff
+    configure.env-append    MACOSX_DEPLOYMENT_TARGET=10.4
+    build.env-append        MACOSX_DEPLOYMENT_TARGET=10.4
+}
+
 variant tls {
     configure.args-append   --without-openssl --with-gnutls
     configure.args-delete   --with-openssl --without-gnutls

Added: trunk/dports/net/lftp/files/patch-configure.diff
===================================================================
--- trunk/dports/net/lftp/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/net/lftp/files/patch-configure.diff	2008-02-16 16:28:34 UTC (rev 34174)
@@ -0,0 +1,14 @@
+--- configure.orig	2008-02-09 17:57:28.000000000 +0100
++++ configure	2008-02-09 17:59:39.000000000 +0100
+@@ -9744,8 +9744,9 @@
+ case "`uname -sr`" in
+ # Linux-2.2.x and older don't support fcntl64.
+ "Linux 2.2."*|"Linux 2.0."*)  enable_largefile=no;;
+-# MacOS X Tiger's poll does not work correctly.
+-"Darwin 8."*)  lftp_cv_func_poll_works=no;;
++# MacOS X Tiger's and Leopard's poll does not work correctly.
++# a better patch would be to check for proper functionality: http://bugzilla.gnome.org/attachment.cgi?id=68325&action=view
++"Darwin 8."*|"Darwin 9."*)  lftp_cv_func_poll_works=no;;
+ esac
+ 
+ for ac_prog in 'bison -y' byacc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080216/54e44c9d/attachment.html 


More information about the macports-changes mailing list