summaryrefslogtreecommitdiff
path: root/print/tex/scripts/configure
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1994-09-29 08:56:20 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1994-09-29 08:56:20 +0000
commitcdd0886479e5e357a96d06340a2ec3d20fd22938 (patch)
tree40acea19521f3a9d8cff29c10b1e8917e67e7bc0 /print/tex/scripts/configure
parentDon't hardcode patch and its arguments. Not quite the same patch as submitted (diff)
Bring in Jean-Marc Zucconi's tex port. The Makefile is kind of weird,
and he has his own ftp-get routine, but knowing how complex the TeX distribution is, I suspect that all of this obfuscation is probably justified! Submitted by: jmz
Notes
Notes: svn path=/head/; revision=137
Diffstat (limited to 'print/tex/scripts/configure')
-rw-r--r--print/tex/scripts/configure14
1 files changed, 14 insertions, 0 deletions
diff --git a/print/tex/scripts/configure b/print/tex/scripts/configure
new file mode 100644
index 000000000000..d4d90c14bc7c
--- /dev/null
+++ b/print/tex/scripts/configure
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+if [ $# != 3 ]; then exit 1; fi
+
+#
+# The subdirectory searching in kpathsearch sometimes fails (don't know why)
+# so let's disable the feature (It can be reenabled with the proper environment
+# variables though.
+#
+cd $3/kpathsea || exit 1;
+mv paths.h.in paths.h.in.orig || exit 1;
+sed -e s://:/: <paths.h.in.orig >paths.h.in || exit 1;
+
+exit 0; \ No newline at end of file