[tex-live] wrong links with --disable-multiplatform

Peter Münster pmlists at free.fr
Sat May 10 22:14:14 CEST 2008


On Thu, Apr 24 2008, Karl Berry wrote:

> Sigh.  I didn't make the connection yesterday that
> --disable-multiplatform was used by all the distros, but of course ...
> 
> So since it's so critical, can't one of you guys that it's critical for
> implement option A, the maintainable patch I can install?  It shouldn't
> be that hard: notice the option, put a flag in tetex/Makefile.in, and
> change the number of ..'s accordingly.  Or something like that.

Hello Karl,

Here is a patch, that works for me:

--- Build/source/texk/texlive/Makefile.in.orig	2008-05-10 20:55:36.000000000 +0200
+++ Build/source/texk/texlive/Makefile.in	2008-05-10 20:55:08.000000000 +0200
@@ -84,7 +84,15 @@
 	  target=$(scriptdir)/`basename $$s | sed 's,\.[^/]*$$,,' | tr A-Z a-z`; \
 	  target=$$target$(LINKSUFFIX); \
 	  rm -f $$target; \
-	  ln -s ../../$$s $$target; \
+	  if [ -f $(scriptdir)/../$$s ]; then \
+	    s=../$$s; \
+	  elif [ -f $(scriptdir)/../../$$s ]; then \
+	    s=../../$$s; \
+	  else \
+	    echo Error: $$s not found; \
+	    false; \
+	  fi; \
+	  ln -s $$s $$target; \
 	done
 
 install-linked-sys-scripts:


However, xindy and texindy seem to be handled by another Makefile...

Cheers, Peter

-- 
http://pmrb.free.fr/contact/



More information about the tex-live mailing list