diff options
Diffstat (limited to 'data/ncurses')
-rw-r--r-- | data/ncurses/install.diff | 12 | ||||
-rw-r--r-- | data/ncurses/make.sh | 5 |
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 |