Source: latex2rtf
Version: 2.3.18a-2
Tags: patch upstream
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

latex2rtf fails to cross build from source, because it relinks latex2rtf
during make install-bin using the build architecture compiler. Nothing
passes a cross compiler to make install-bin and in theory, make
install-bin shouldn't compile anything. Unfortunately, latex2rtf is
included in the .PHONY rule and thus is uselessly remade. You can see
this in native build logs and it breaks cross build. Please consider
applying the attached patch.

Helmut
--- latex2rtf-2.3.18a.orig/Makefile
+++ latex2rtf-2.3.18a/Makefile
@@ -259,7 +259,7 @@ appleclean:
 splint:
 	splint -weak $(SRCS) $(HDRS)
 	
-.PHONY: all check checkdir clean depend dist doc install install-info realclean latex2rtf uptodate releasedate splint fullcheck install-doc install-bin
+.PHONY: all check checkdir clean depend dist doc install install-info realclean uptodate releasedate splint fullcheck install-doc install-bin
 
 # created using "make depend"
 commands.o: commands.c cfg.h main.h convert.h chars.h fonts.h preamble.h \

Reply via email to