[74679] trunk/dports/net/ncftp

toby at macports.org toby at macports.org
Mon Dec 27 15:22:39 PST 2010


Revision: 74679
          http://trac.macports.org/changeset/74679
Author:   toby at macports.org
Date:     2010-12-27 15:22:32 -0800 (Mon, 27 Dec 2010)
Log Message:
-----------
fix build

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

Added Paths:
-----------
    trunk/dports/net/ncftp/files/
    trunk/dports/net/ncftp/files/patch-configure

Modified: trunk/dports/net/ncftp/Portfile
===================================================================
--- trunk/dports/net/ncftp/Portfile	2010-12-27 23:11:55 UTC (rev 74678)
+++ trunk/dports/net/ncftp/Portfile	2010-12-27 23:22:32 UTC (rev 74679)
@@ -31,6 +31,8 @@
                 sha1    bd4b6381dadc8189bc13e615696438e5390772cd \
                 rmd160  aa666933321fbc2aeede7301acbc4a79074f25d2
 
+patchfiles      patch-configure
+
 depends_lib     port:ncurses
 
 configure.args  --disable-universal --disable-precomp

Added: trunk/dports/net/ncftp/files/patch-configure
===================================================================
--- trunk/dports/net/ncftp/files/patch-configure	                        (rev 0)
+++ trunk/dports/net/ncftp/files/patch-configure	2010-12-27 23:22:32 UTC (rev 74679)
@@ -0,0 +1,11 @@
+--- configure.orig	2010-12-27 15:20:37.000000000 -0800
++++ configure	2010-12-27 15:20:45.000000000 -0800
+@@ -954,7 +954,7 @@
+ 	macos*|darwin|rhapsody)
+ 		OS="macosx"
+ 		SYS="macosx"
+-		os_v=`perl -e '{open(F, "< /System/Library/CoreServices/SystemVersion.plist") or exit(2); my ($doc) = ""; my ($line); while (defined($line = <F>)) { $doc .= $line; } close(F); $doc =~ s/\s+//gs; if ($doc =~ /<key>ProductVersion<\/key><string>([^<]+)<\/string>/) { print , "\n"; exit(0); } exit(1); }' 2>/dev/null`
++		os_v=`perl -e '{open(F, "< /System/Library/CoreServices/SystemVersion.plist") or exit(2); my ($doc) = ""; my ($line); while (defined($line = <F>)) { $doc .= $line; } close(F); $doc =~ s/\s+//gs; if ($doc =~ /<key>ProductVersion<\/key><string>([^<]+)<\/string>/) { print $1, "\n"; exit(0); } exit(1); }' 2>/dev/null`
+ 		if [ "$os_v" = "" ] && [ -x "$HOME/bin/macosver" ] ; then
+ 			os_v=`"$HOME/bin/macosver" 2>/dev/null`
+ 		fi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101227/80ed1d19/attachment-0001.html>


More information about the macports-changes mailing list