Source: disulfinder
Version: 1.2.11-9
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs

disulfinder fails to cross build from source, because one of its many
Makefiles hard codes the build architecture compiler g++. After making
it substitutable, disulfinder cross builds successfully. Please consider
applying the attached patch.

Helmut
--- disulfinder-1.2.11.orig/disulfind/src/Common/Makefile
+++ disulfinder-1.2.11/disulfind/src/Common/Makefile
@@ -12,13 +12,13 @@
 lib : libCommon.a
 
 Eig:	Decomposition.o ${OBJECTFILES}
-	g++ -o $@ $+ ${LIBS}
+	$(CXX) -o $@ $+ ${LIBS}
 
 Norm:	Norm.o ${OBJECTFILES}
-	g++ -o $@ $+ ${LIBS}
+	$(CXX) -o $@ $+ ${LIBS}
 
 %.o: %.cpp
-	g++ $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
 
 clean:
 	$(MAKE) -C eig clean

Reply via email to