From ea11e48e252bb1df2d1229ef01fde0219c88bf3a Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Sat, 23 Feb 2008 22:55:11 +0000 Subject: Fixed the install_name on the various ncurses libraries. git-svn-id: http://svn.telesphoreo.org/trunk@95 514c082c-b64e-11dc-b46d-3d985efe055d --- data/ncurses/install.diff | 12 ++++++++++++ data/ncurses/make.sh | 5 +++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 data/ncurses/install.diff (limited to 'data/ncurses') 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 -- cgit v1.2.3