wok-4.x rev 11309

tinyproxy: Fixed patch.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Nov 13 02:13:59 2011 +0000 (2011-11-13)
parents c8d75f301f10
children 1952a594ef0e
files tinyproxy/receipt tinyproxy/stuff/no-docs-and-tests.diff
line diff
     1.1 --- a/tinyproxy/receipt	Sun Nov 13 11:09:54 2011 +0000
     1.2 +++ b/tinyproxy/receipt	Sun Nov 13 02:13:59 2011 +0000
     1.3 @@ -22,9 +22,9 @@
     1.4  		--sysconfdir=/etc/tinyproxy \
     1.5  		--localstatedir=/var \
     1.6  		$CONFIGURE_ARGS &&
     1.7 -	make && make DESTDIR=$PWD/_pkg install
     1.8 +	make && make DESTDIR=$DESTDIR install
     1.9  	# Provide sane defaults
    1.10 -  	sed -i '/^#Listen/a\Listen 127.0.0.1' "$PWD/_pkg/etc/tinyproxy/tinyproxy.conf"
    1.11 +  	sed -i '/^#Listen/a\Listen 127.0.0.1' "$DESTDIR/etc/tinyproxy/tinyproxy.conf"
    1.12  
    1.13  }
    1.14  
     2.1 --- a/tinyproxy/stuff/no-docs-and-tests.diff	Sun Nov 13 11:09:54 2011 +0000
     2.2 +++ b/tinyproxy/stuff/no-docs-and-tests.diff	Sun Nov 13 02:13:59 2011 +0000
     2.3 @@ -30,7 +30,7 @@
     2.4  index 01d6883..facfadd 100755
     2.5  --- a/configure
     2.6  +++ b/configure
     2.7 -@@ -6811,67 +6811,10 @@
     2.8 +@@ -6810,65 +6810,8 @@
     2.9   fi
    2.10   
    2.11   
    2.12 @@ -85,16 +85,14 @@
    2.13  -  HAVE_A2X_TRUE=
    2.14  -  HAVE_A2X_FALSE='#'
    2.15  -else
    2.16 --  HAVE_A2X_TRUE='#'
    2.17 --  HAVE_A2X_FALSE=
    2.18 +   HAVE_A2X_TRUE='#'
    2.19 +   HAVE_A2X_FALSE=
    2.20  -fi
    2.21  -
    2.22  -if test x"$A2X" = x"no"; then
    2.23 --  as_fn_error "Test for asciidoc failed. See the file 'INSTALL' for help." "$LINENO" 5
    2.24 +-  as_fn_error $? "Test for asciidoc failed. See the file 'INSTALL' for help." "$LINENO" 5
    2.25  -fi
    2.26  -
    2.27 -+  HAVE_A2X_TRUE='#'
    2.28 -+  HAVE_A2X_FALSE=
    2.29   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.31