freebsd-ports/devel/lhs2TeX/files/patch-configure

67 lines
2.1 KiB
Text
Raw Normal View History

--- ./configure.orig 2009-12-18 13:21:18.000000000 +0100
+++ ./configure 2010-01-07 19:34:38.000000000 +0100
@@ -2745,54 +2745,6 @@
POLYTABLE_INSTALL=yes
fi
-if test "z$POLYTABLE_INSTALL" = "zyes"; then
-
-{ $as_echo "$as_me:$LINENO: checking for the polytable package" >&5
-$as_echo_n "checking for the polytable package... " >&6; }
-if test -x "$KPSEWHICH"; then
- POLYTABLE="`$KPSEWHICH polytable.sty`"
-fi
-if test -f "$POLYTABLE"; then
- { $as_echo "$as_me:$LINENO: result: $POLYTABLE" >&5
-$as_echo "$POLYTABLE" >&6; }
- { $as_echo "$as_me:$LINENO: checking for version of polytable" >&5
-$as_echo_n "checking for version of polytable... " >&6; }
- POLYTABLE_VERSION=`$GREP " v.* .polytable. package" $POLYTABLE | $SED -e "s/^.*v\(.*\) .polytable. package.*$/\1/"`
- { $as_echo "$as_me:$LINENO: result: $POLYTABLE_VERSION" >&5
-$as_echo "$POLYTABLE_VERSION" >&6; }
-else
- { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- # does polytable need to be installed?
- { $as_echo "$as_me:$LINENO: checking whether polytable needs to be installed" >&5
-$as_echo_n "checking whether polytable needs to be installed... " >&6; }
- POLYTABLE_INSTALL=no
- if test -n $POLYTABLE; then
- if ( IFS=".";
- a="$POLYTABLE_VERSION"; b="0.8.2";
- while test -n "$a$b"
- do
- set -- $a; h1="$1"; shift 2>/dev/null; a="$*"
- set -- $b; h2="$1"; shift 2>/dev/null; b="$*"
- test -n "$h1" || h1=0; test -n "$h2" || h2=0
- test ${h1} -eq ${h2} || break
- done
- test ${h1} -lt ${h2}
- )
-then
- POLYTABLE_INSTALL=yes
-
-fi
-
- else
- POLYTABLE_INSTALL=yes
- fi
- { $as_echo "$as_me:$LINENO: result: $POLYTABLE_INSTALL" >&5
-$as_echo "$POLYTABLE_INSTALL" >&6; }
-fi
-
# Extract the first word of "mktexlsr", so it can be a program name with args.
set dummy mktexlsr; ac_word=$2
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
@@ -2834,8 +2786,6 @@
-# docdir and expansion
-docdir="$datadir/doc/$PACKAGE_TARNAME-$PACKAGE_VERSION"
stydir="$datadir/$PACKAGE_TARNAME-$PACKAGE_VERSION"