From 31ea88b6543c89a820f39b3b3348e83b4edd60c9 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Tue, 16 Feb 2010 11:12:40 +0000 Subject: [PATCH] [packages] tinyproxy: Build without docs and tests. Removes the requirement of having asciidoc to be installed on the host system. SVN-Revision: 19657 --- .../patches/010-no-docs-and-tests.patch | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 net/tinyproxy/patches/010-no-docs-and-tests.patch diff --git a/net/tinyproxy/patches/010-no-docs-and-tests.patch b/net/tinyproxy/patches/010-no-docs-and-tests.patch new file mode 100644 index 0000000000..c1a0034428 --- /dev/null +++ b/net/tinyproxy/patches/010-no-docs-and-tests.patch @@ -0,0 +1,100 @@ +diff --git a/Makefile.am b/Makefile.am +index 7de41f2..9d1f99b 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -2,9 +2,7 @@ SUBDIRS = \ + src \ + data \ + etc \ +- docs \ + m4macros \ +- tests + + # tools want this on a single line + ACLOCAL_AMFLAGS = -I m4macros +diff --git a/Makefile.in b/Makefile.in +index d0ec918..5be49d4 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -221,9 +221,7 @@ SUBDIRS = \ + src \ + data \ + etc \ +- docs \ + m4macros \ +- tests + + + # tools want this on a single line +diff --git a/configure b/configure +index 01d6883..facfadd 100755 +--- a/configure ++++ b/configure +@@ -9012,67 +9012,8 @@ $as_echo "$as_me: error: Your system's regexec() function is broken." >&2;} + fi + + +- +- +- +- +- +-# Check for asciidoc +-# Extract the first word of "a2x", so it can be a program name with args. +-set dummy a2x; ac_word=$2 +-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +-$as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_path_A2X+set}" = set; then +- $as_echo_n "(cached) " >&6 +-else +- case $A2X in +- [\\/]* | ?:[\\/]*) +- ac_cv_path_A2X="$A2X" # Let the user override the test with a path. +- ;; +- *) +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do +- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then +- ac_cv_path_A2X="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 +- break 2 +- fi +-done +-done +-IFS=$as_save_IFS +- +- test -z "$ac_cv_path_A2X" && ac_cv_path_A2X="no" +- ;; +-esac +-fi +-A2X=$ac_cv_path_A2X +-if test -n "$A2X"; then +- { $as_echo "$as_me:$LINENO: result: $A2X" >&5 +-$as_echo "$A2X" >&6; } +-else +- { $as_echo "$as_me:$LINENO: result: no" >&5 +-$as_echo "no" >&6; } +-fi +- +- +- if test "x$A2X" != "xno"; then +- HAVE_A2X_TRUE= +- HAVE_A2X_FALSE='#' +-else + HAVE_A2X_TRUE='#' + HAVE_A2X_FALSE= +-fi +- +-if test x"$A2X" = x"no"; then +- { { $as_echo "$as_me:$LINENO: error: Test for asciidoc failed. See the file 'INSTALL' for help." >&5 +-$as_echo "$as_me: error: Test for asciidoc failed. See the file 'INSTALL' for help." >&2;} +- { (exit 1); exit 1; }; } +-fi +- + ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile data/templates/Makefile etc/Makefile docs/Makefile docs/man5/Makefile docs/man5/tinyproxy.conf.txt docs/man8/Makefile docs/man8/tinyproxy.txt m4macros/Makefile tests/Makefile tests/scripts/Makefile" + + -- 2.30.2