ports/print/tex/files/patch-configure

29 lines
792 B
Text

--- ./configure.orig 1998-03-10 22:38:41.000000000 +0000
+++ ./configure 2014-06-29 18:10:24.000000000 +0000
@@ -990,8 +990,7 @@
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
# Check whether --with-dtl or --without-dtl was given.
if test "${with_dtl+set}" = set; then
@@ -1220,7 +1219,7 @@
# First case, datadir is defined...
eval p=\"$datadir\"
if test -d "$p/texmf"; then
- texmfmain="$p/texmf"
+ texmfmain="$datadir/texmf"
fi
else
# Second case, datadir is default...
@@ -1840,6 +1839,7 @@
s%@LN_S@%$LN_S%g
s%@TEX@%$TEX%g
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
+s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
s%@INSTALL_DATA@%$INSTALL_DATA%g
s%@MAINT@%$MAINT%g
s%@host@%$host%g