diff options
Diffstat (limited to 'devel/ncurses/patches/patch-ac')
-rw-r--r-- | devel/ncurses/patches/patch-ac | 44 |
1 files changed, 14 insertions, 30 deletions
diff --git a/devel/ncurses/patches/patch-ac b/devel/ncurses/patches/patch-ac index d46c921ff4f..d5a9cee5bcd 100644 --- a/devel/ncurses/patches/patch-ac +++ b/devel/ncurses/patches/patch-ac @@ -1,39 +1,23 @@ -$NetBSD: patch-ac,v 1.22 2015/02/18 03:10:42 sevan Exp $ +$NetBSD: patch-ac,v 1.23 2015/08/17 17:10:32 wiz Exp $ Allow ncurses to build with compiler from pkgsrc by dropping the use of -no-cpp-precomp which is specific to Apple's supplied toolchain. Don't rename man pages on Debian. Include local paths before utilising flags from build env ---- configure.orig 2011-03-31 23:35:51.000000000 +0000 +--- configure.orig 2015-08-05 09:20:32.000000000 +0000 +++ configure -@@ -5584,7 +5584,6 @@ CF_EOF - chmod +x mk_shared_lib.sh - ;; - darwin*) #(vi -- EXTRA_CFLAGS="-no-cpp-precomp" - CC_SHARED_OPTS="-dynamic" - 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 -@@ -9640,12 +9639,7 @@ case ".$MANPAGE_RENAMES" in #(vi - .no) #(vi - ;; - .|.yes) -- # Debian 'man' program? -- if test -f /etc/debian_version ; then -- MANPAGE_RENAMES=`cd $srcdir && pwd`/man/man_db.renames -- else - MANPAGE_RENAMES=no -- fi - ;; +@@ -11090,12 +11090,7 @@ case ".$MANPAGE_RENAMES" in + (.no) + ;; + (.|.yes) +- # Debian 'man' program? +- if test -f /etc/debian_version ; then +- MANPAGE_RENAMES=`cd $srcdir && pwd`/man/man_db.renames +- else +- MANPAGE_RENAMES=no +- fi ++ MANPAGE_RENAMES=no + ;; esac -@@ -18592,7 +18586,7 @@ echo "${ECHO_T}$LIB_SUBSETS" >&6 - - ### Construct the list of include-directories to be generated - --CPPFLAGS="$CPPFLAGS -I. -I../include" -+CPPFLAGS="-I. -I../include $CPPFLAGS" - if test "$srcdir" != "."; then - CPPFLAGS="$CPPFLAGS -I\${srcdir}/../include" - fi |