tags 518653 + patch thanks Am Dienstag, den 10.03.2009, 14:50 +0100 schrieb Manuel Prinz: > I implemented a patch that sets a variable to the default version used > on the building arch.
Sorry, forgot to attach the patch! Best regards Manuel
--- a/debian/rules +++ b/debian/rules @@ -5,6 +5,7 @@ MPI=$(shell readlink /etc/alternatives/mpi | sed s/usr//g | sed s/include//g | s clean: dh_testdir rm -f debian/*.substvars + rm -f debian/debian_defaults dh_clean build: @@ -28,9 +29,12 @@ binary-arch: echo "Unknown MPI implementation, stopping"; \ exit 1; \ fi + echo "# Default MPI implementation on this arch" >debian/debian_defaults + echo "ARCH_DEFAULT_MPI_IMPL=$(MPI)" >>debian/debian_defaults dh_installdirs -a dh_installdocs -a dh_installchangelogs -a + dh_install -pmpi-default-dev debian/debian_defaults usr/share/mpi-default-dev/ dh_compress -a dh_fixperms -a dh_installdeb -a
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

