summaryrefslogtreecommitdiffstats
path: root/print/tex
diff options
context:
space:
mode:
Diffstat (limited to 'print/tex')
-rw-r--r--print/tex/scripts/configure4
1 files changed, 1 insertions, 3 deletions
diff --git a/print/tex/scripts/configure b/print/tex/scripts/configure
index d4d90c1..e29ded4 100644
--- a/print/tex/scripts/configure
+++ b/print/tex/scripts/configure
@@ -1,13 +1,11 @@
#!/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;
+cd ${WRKSRC}/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;
OpenPOWER on IntegriCloud