diff options
author | Jay Freeman <saurik@saurik.com> | 2008-04-06 10:28:29 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-04-06 10:28:29 +0000 |
commit | d699a01fabaa04a1aad60f6ca5777f82ee24839a (patch) | |
tree | 1eb62bad23b14a0877c5b9171f2a5f9358c8d592 /data/ncftp | |
parent | 8a49e427447f40fdd43fc4b5f513b166dd639e2a (diff) |
Drastic, sweeping modifications to support iPhone 1.2.0/2.0.
git-svn-id: http://svn.telesphoreo.org/trunk@199 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/ncftp')
-rw-r--r-- | data/ncftp/make.sh | 2 | ||||
-rw-r--r-- | data/ncftp/tools.diff | 17 |
2 files changed, 18 insertions, 1 deletions
diff --git a/data/ncftp/make.sh b/data/ncftp/make.sh index 148b0a736..7da69beab 100644 --- a/data/ncftp/make.sh +++ b/data/ncftp/make.sh @@ -1,7 +1,7 @@ pkg:extract cd * pkg:patch -CC=$(which arm-apple-darwin-gcc) ./configure --prefix=/usr +RANLIB=$(which "${PKG_TARG}-ranlib") CC=$(which "${PKG_TARG}-gcc") pkg:configure make mkdir -p "${PKG_DEST}/usr/share" pkg:install diff --git a/data/ncftp/tools.diff b/data/ncftp/tools.diff new file mode 100644 index 000000000..b34de4787 --- /dev/null +++ b/data/ncftp/tools.diff @@ -0,0 +1,17 @@ +diff -ru ncftp-3.2.1/configure ncftp-3.2.1+iPhone/configure +--- ncftp-3.2.1/configure 2007-08-01 05:39:16.000000000 +0000 ++++ ncftp-3.2.1+iPhone/configure 2008-03-24 09:22:22.000000000 +0000 +@@ -8387,10 +8387,13 @@ + case "$CC" in + *${machine}*) + f=`echo "$CC" | sed 's|/[^/]*$||'` ++ AR=$(which "${machine}-ar") || + if [ -x "$f/${machine}-ar" ] ; then + AR="$f/${machine}-ar" + elif [ -x "$f/ar" ] ; then + AR="$f/ar" ++ else ++ AR="ar" + fi + ;; + esac |