From 7487ed9f8e4f2dbcbf3cffdf18f07e1d79ecdd39 Mon Sep 17 00:00:00 2001 From: Alan Date: Thu, 2 Feb 2017 20:09:44 +0900 Subject: [PATCH] tex: changes to remove tex dependencies --- packages/debug/gdb/patches/gdb-001-notex.patch | 12 ++++++++++++ packages/devel/flex/package.mk | 2 +- packages/devel/flex/patches/flex-002-nodocs.patch | 10 ++++++++++ scripts/checkdeps | 4 ++-- 4 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 packages/debug/gdb/patches/gdb-001-notex.patch create mode 100644 packages/devel/flex/patches/flex-002-nodocs.patch diff --git a/packages/debug/gdb/patches/gdb-001-notex.patch b/packages/debug/gdb/patches/gdb-001-notex.patch new file mode 100644 index 0000000000..0a9804e540 --- /dev/null +++ b/packages/debug/gdb/patches/gdb-001-notex.patch @@ -0,0 +1,12 @@ +--- gdb-7.11.1/missing.orig 2017-01-30 19:01:55.652407184 +0900 ++++ gdb-7.11.1/missing 2017-01-30 19:02:53.703405905 +0900 +@@ -83,6 +83,9 @@ + # If it succeeded, we are done. + test $st -eq 0 && exit 0 + ++# No need for tex monster ++test $1 = makeinfo && exit 0 ++ + # Also exit now if we it failed (or wasn't found), and '--version' was + # passed; such an option is passed most likely to detect whether the + # program is present and works. diff --git a/packages/devel/flex/package.mk b/packages/devel/flex/package.mk index a526085879..c78c1b861e 100644 --- a/packages/devel/flex/package.mk +++ b/packages/devel/flex/package.mk @@ -28,7 +28,7 @@ PKG_SHORTDESC="flex: Fast lexical analyzer generator" PKG_LONGDESC="flex is a tool for generating programs that perform pattern-matching on text." PKG_IS_ADDON="no" -PKG_AUTORECONF="no" +PKG_AUTORECONF="yes" PKG_CONFIGURE_OPTS_HOST="--enable-static --disable-shared --disable-rpath --with-gnu-ld" diff --git a/packages/devel/flex/patches/flex-002-nodocs.patch b/packages/devel/flex/patches/flex-002-nodocs.patch new file mode 100644 index 0000000000..ebe9089ab3 --- /dev/null +++ b/packages/devel/flex/patches/flex-002-nodocs.patch @@ -0,0 +1,10 @@ +--- flex-2.5.39/Makefile.am.orig 2017-01-26 21:20:07.947836925 +0900 ++++ flex-2.5.39/Makefile.am 2017-01-26 21:20:20.332836652 +0900 +@@ -117,7 +117,6 @@ + SUBDIRS = \ + lib \ + . \ +- doc \ + examples \ + po \ + tests diff --git a/scripts/checkdeps b/scripts/checkdeps index aac53eb619..f2cc7f411f 100755 --- a/scripts/checkdeps +++ b/scripts/checkdeps @@ -28,8 +28,8 @@ if [ -f /etc/os-release ]; then DISTRO=$(grep ^ID= /etc/os-release | cut -d "=" -f 2 | tr A-Z a-z) fi -deps="wget bash bc gcc sed patch lsdiff tar bzip2 gzip perl gawk gperf zip unzip diff makeinfo lzop" -deps_pkg="wget bash bc gcc sed patch patchutils tar bzip2 gzip perl gawk gperf zip unzip diffutils texinfo lzop" +deps="wget bash bc gcc sed patch lsdiff tar bzip2 gzip perl gawk gperf zip unzip diff lzop" +deps_pkg="wget bash bc gcc sed patch patchutils tar bzip2 gzip perl gawk gperf zip unzip diffutils lzop" files="/usr/include/stdio.h /usr/include/ncurses.h" files_pkg="libc6-dev libncurses5-dev"