summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-02-23 22:55:11 +0000
committerJay Freeman <saurik@saurik.com>2008-02-23 22:55:11 +0000
commitea11e48e252bb1df2d1229ef01fde0219c88bf3a (patch)
tree3cb44454ea11a1d2b5d608f5c9e03100428f212f
parentb1e14be1a7ca693a619a174531a53ed32efcc818 (diff)
Fixed the install_name on the various ncurses libraries.
git-svn-id: http://svn.telesphoreo.org/trunk@95 514c082c-b64e-11dc-b46d-3d985efe055d
-rw-r--r--data/ncurses/install.diff12
-rw-r--r--data/ncurses/make.sh5
2 files changed, 15 insertions, 2 deletions
diff --git a/data/ncurses/install.diff b/data/ncurses/install.diff
new file mode 100644
index 000000000..0f5dd5bf5
--- /dev/null
+++ b/data/ncurses/install.diff
@@ -0,0 +1,12 @@
+diff -ru ncurses-5.6/configure ncurses-5.6+iPhone/configure
+--- ncurses-5.6/configure 2006-12-17 16:33:38.000000000 +0000
++++ ncurses-5.6+iPhone/configure 2008-02-23 11:27:37.000000000 +0000
+@@ -4922,7 +4922,7 @@
+ darwin*)
+ EXTRA_CFLAGS="-no-cpp-precomp"
+ CC_SHARED_OPTS="-dynamic"
+- MK_SHARED_LIB='${CC} ${CFLAGS} -dynamiclib -install_name ${DESTDIR}${libdir}/`basename $@` -compatibility_version ${ABI_VERSION} -current_version ${ABI_VERSION} -o $@'
++ MK_SHARED_LIB='${CC} ${CFLAGS} -dynamiclib -install_name ${libdir}/`basename $@` -compatibility_version ${ABI_VERSION} -current_version ${ABI_VERSION} -o $@'
+ test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=abi
+ cf_cv_shlib_version_infix=yes
+ echo "$as_me:4928: checking if ld -search_paths_first works" >&5
diff --git a/data/ncurses/make.sh b/data/ncurses/make.sh
index 5ad559445..5fbd1dd65 100644
--- a/data/ncurses/make.sh
+++ b/data/ncurses/make.sh
@@ -1,5 +1,6 @@
-tar -zxvf "${PKG_DATA}/ncurses-5.6.tar.gz"
-cd ncurses-5.6
+pkg:extract
+cd *
+pkg:patch
pkg:configure --with-shared --without-normal --without-debug
make
pkg:install