pkgsrc/print/advi/patches/patch-am
tonio 5f7659977a let advi compile and run happily with ocaml-3.09
Use the teTeX/module.mk and honor PKG_LOCALTEXMFPREFIX
make sure advi's makefile do not run texhash by itself (rely on module.mk for that)

Many patches removing warnings (from advi's cvs)
bump PKGREVISION, and remove broken-in
2006-04-19 13:13:05 +00:00

20 lines
496 B
Text

$NetBSD: patch-am,v 1.1 2006/04/19 13:13:05 tonio Exp $
--- configure.orig 2004-10-02 23:10:57.000000000 +0200
+++ configure
@@ -4782,11 +4782,11 @@ test "x$myexec_prefix" = xNONE && myexec
mylibdir=$libdir
test "x$libdir" = 'x${exec_prefix}/lib' && mylibdir="$myexec_prefix/lib"
-if test -d $TEXMFMAIN/tex/latex; then
- ADVI_LOC=$TEXMFMAIN/tex/latex/advi
-else
+#if test -d $TEXMFMAIN/tex/latex; then
+# ADVI_LOC=$TEXMFMAIN/tex/latex/advi
+#else
ADVI_LOC=$mylibdir/advi
-fi
+#fi