mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-28 14:35:50 -04:00
43 lines
1.5 KiB
Plaintext
43 lines
1.5 KiB
Plaintext
$NetBSD: patch-configure,v 1.2 2012/07/03 18:07:03 joerg Exp $
|
|
|
|
Handle TEXMFLOCAL having multiple elements.
|
|
|
|
--- configure.orig 2011-11-16 21:40:11.000000000 +0000
|
|
+++ configure
|
|
@@ -3773,7 +3773,7 @@ fi
|
|
|
|
|
|
if test "x$kpsewhich" = "xtrue"; then
|
|
- latexdir=`kpsewhich -expand-var='$TEXMFLOCAL'/tex/latex`
|
|
+ latexdir=`kpsewhich -expand-var='$TEXMFLOCAL' | sed -e 's/:.*//' -e 's:$:/tex/latex:'`
|
|
else
|
|
latexdir=$prefix/share/texmf/tex/latex
|
|
as_ac_File=`$as_echo "ac_cv_file_$latexdir/base/latex.ltx" | $as_tr_sh`
|
|
@@ -3872,7 +3872,7 @@ fi
|
|
|
|
|
|
if test "x$kpsewhich" = "xtrue"; then
|
|
- contextdir=`kpsewhich -expand-var='$TEXMFLOCAL'/tex/context/third`
|
|
+ contextdir=`kpsewhich -expand-var='$TEXMFLOCAL' | sed -e 's/:.*//' -e 's:$:/tex/context/third:'`
|
|
else
|
|
contextdir=$prefix/share/texmf/tex/context/third
|
|
fi
|
|
@@ -5395,8 +5395,6 @@ if test "$GXX" = yes ; then
|
|
ac_gcc_version=`echo __GNUC__ | $CC -E - | grep -v ^\#`
|
|
if test "$ac_gcc_version" -lt 4; then
|
|
CFLAGS=$CFLAGS" -finline-limit=400"
|
|
- else
|
|
- CFLAGS=$CFLAGS" --no-var-tracking"
|
|
fi
|
|
fi
|
|
|
|
@@ -6709,7 +6707,7 @@ $as_echo "$as_me: *** Could not find lib
|
|
fi
|
|
|
|
esac
|
|
- if test "x$enable_offscreen" == "xyes"; then
|
|
+ if test "x$enable_offscreen" = "xyes"; then
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OSMesaCreateContext in -lOSMesa" >&5
|
|
$as_echo_n "checking for OSMesaCreateContext in -lOSMesa... " >&6; }
|
|
if test "${ac_cv_lib_OSMesa_OSMesaCreateContext+set}" = set; then :
|