summaryrefslogtreecommitdiff
path: root/textproc/hs-lhs2tex/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/hs-lhs2tex/files/patch-configure')
-rw-r--r--textproc/hs-lhs2tex/files/patch-configure63
1 files changed, 59 insertions, 4 deletions
diff --git a/textproc/hs-lhs2tex/files/patch-configure b/textproc/hs-lhs2tex/files/patch-configure
index d1b7f37a583e..b541e5b857f2 100644
--- a/textproc/hs-lhs2tex/files/patch-configure
+++ b/textproc/hs-lhs2tex/files/patch-configure
@@ -1,11 +1,66 @@
---- ./configure.orig Wed Apr 25 22:41:37 2007
-+++ ./configure Wed Apr 25 22:41:55 2007
-@@ -2726,7 +2726,7 @@
+--- configure.orig 2008-02-19 01:11:52.000000000 -0500
++++ configure 2008-02-19 01:42:57.000000000 -0500
+@@ -2637,54 +2637,6 @@
+ POLYTABLE_INSTALL=yes
+ fi
+
+-if test "z$POLYTABLE_INSTALL" = "zyes"; then
+-
+-{ echo "$as_me:$LINENO: checking for the polytable package" >&5
+-echo $ECHO_N "checking for the polytable package... $ECHO_C" >&6; }
+-if test -x "$KPSEWHICH"; then
+- POLYTABLE="`$KPSEWHICH polytable.sty`"
+-fi
+-if test -f "$POLYTABLE"; then
+- { echo "$as_me:$LINENO: result: $POLYTABLE" >&5
+-echo "${ECHO_T}$POLYTABLE" >&6; }
+- { echo "$as_me:$LINENO: checking for version of polytable" >&5
+-echo $ECHO_N "checking for version of polytable... $ECHO_C" >&6; }
+- POLYTABLE_VERSION=`$GREP " v.* .polytable. package" $POLYTABLE | $SED -e "s/^.*v\(.*\) .polytable. package.*$/\1/"`
+- { echo "$as_me:$LINENO: result: $POLYTABLE_VERSION" >&5
+-echo "${ECHO_T}$POLYTABLE_VERSION" >&6; }
+-else
+- { echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6; }
+-fi
+-
+- # does polytable need to be installed?
+- { echo "$as_me:$LINENO: checking whether polytable needs to be installed" >&5
+-echo $ECHO_N "checking whether polytable needs to be installed... $ECHO_C" >&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
+- { echo "$as_me:$LINENO: result: $POLYTABLE_INSTALL" >&5
+-echo "${ECHO_T}$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
+ { echo "$as_me:$LINENO: checking for $ac_word" >&5
+@@ -2727,7 +2679,7 @@
# docdir and expansion
-docdir="$datadir/doc/$PACKAGE_TARNAME-$PACKAGE_VERSION"
+#docdir="$datadir/doc/$PACKAGE_TARNAME-$PACKAGE_VERSION"
+ stydir="$datadir/$PACKAGE_TARNAME-$PACKAGE_VERSION"
- # lhs2TeX binary path relative to docdir