diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-12-03 15:52:25 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-12-03 15:52:25 +0100 |
commit | d7d5b682db50724172e027e581d6525b0e549324 (patch) | |
tree | d5c5838ca6ca4a6ae28e8a46dae591b43874360d /sci-misc/elmer-fem/files | |
parent | sci-misc/elmer-gui: Bump EAPI; fix DESCRIPTION; drop keywords from live ebuil... (diff) | |
download | sci-d7d5b682db50724172e027e581d6525b0e549324.tar.gz sci-d7d5b682db50724172e027e581d6525b0e549324.tar.bz2 sci-d7d5b682db50724172e027e581d6525b0e549324.zip |
sci-misc/elmer-fem: Bump EAPI; fix DESCRIPTION; drop keywords from live ebuild; fix whitespacing
Package-Manager: portage-2.2.7
RepoMan-Options: --force
Diffstat (limited to 'sci-misc/elmer-fem/files')
-rw-r--r-- | sci-misc/elmer-fem/files/elmer-fem-6.0_p4651-oos.patch | 75 | ||||
-rw-r--r-- | sci-misc/elmer-fem/files/elmer-fem-6.0_p4651-underlinking.patch | 23 |
2 files changed, 98 insertions, 0 deletions
diff --git a/sci-misc/elmer-fem/files/elmer-fem-6.0_p4651-oos.patch b/sci-misc/elmer-fem/files/elmer-fem-6.0_p4651-oos.patch new file mode 100644 index 000000000..00291bc56 --- /dev/null +++ b/sci-misc/elmer-fem/files/elmer-fem-6.0_p4651-oos.patch @@ -0,0 +1,75 @@ + src/Makefile.am | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/Makefile.am b/src/Makefile.am +index 9e48c31..b94705c 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -182,11 +182,11 @@ SC2Elmer_SOURCES = SC2Elmer.c + + if USE_LOCAL_MPIF_H + mpif: mpif_stub.h +- $(CP) mpif_stub.h mpif.h +- $(CP) mpif_stub.h mpif ++ $(CP) $(srcdir)/mpif_stub.h mpif.h ++ $(CP) $(srcdir)/mpif_stub.h mpif + else + mpif: mpif_stub.h +- $(CP) mpif_stub.h mpif ++ $(CP) $(srcdir)/mpif_stub.h mpif + endif + + EXTRA_DIST = \ + src/Makefile.am | 25 +++++++++++++------------ + 1 file changed, 13 insertions(+), 12 deletions(-) + +diff --git a/src/Makefile.am b/src/Makefile.am +index 92de7a4..89a2236 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -144,32 +144,33 @@ ELMER_SOLVER_DATADIR=$(prefix)/share/elmersolver + install-data-local: + @echo "Installing solvers to ${ELMER_SOLVER_DATADIR}/lib" + +- mkdir -p $(DESTDIR)$(ELMER_SOLVER_DATADIR)/lib +- $(CP) `ls -f *$(SHL_EXT) | grep -v libelmersolver` $(DESTDIR)$(ELMER_SOLVER_DATADIR)/lib +- $(CP) elements.def $(DESTDIR)$(ELMER_SOLVER_DATADIR)/lib +- $(CP) SOLVER.KEYWORDS $(DESTDIR)$(ELMER_SOLVER_DATADIR)/lib ++ mkdir -p $(DESTDIR)$(ELMER_SOLVER_DATADIR)/$(libdir) ++ $(CP) `ls -f $(builddir)/*$(SHL_EXT) | grep -v libelmersolver` $(DESTDIR)$(ELMER_SOLVER_DATADIR)/$(libdir) ++ $(CP) $(srcdir)/elements.def $(DESTDIR)$(ELMER_SOLVER_DATADIR)/$(libdir) ++ $(CP) $(srcdir)/SOLVER.KEYWORDS $(DESTDIR)$(ELMER_SOLVER_DATADIR)/$(libdir) + + @echo "Installing *.mod to ${ELMER_SOLVER_DATADIR}/include" + mkdir -p $(DESTDIR)$(ELMER_SOLVER_DATADIR)/include +- $(CP) *.mod $(DESTDIR)$(ELMER_SOLVER_DATADIR)/include ++ $(CP) $(builddir)/*.mod $(DESTDIR)$(ELMER_SOLVER_DATADIR)/include + + + install-exec-local: + @echo "Installing stuff to ${prefix}/bin" + $(MKDIR) $(DESTDIR)$(prefix)/bin +- $(CP) ElmerSolver$(EXEEXT) $(DESTDIR)$(prefix)/bin +- $(CP) ViewFactors$(EXEEXT) $(DESTDIR)$(prefix)/bin +- $(CP) GebhardtFactors$(EXEEXT) $(DESTDIR)$(prefix)/bin ++ $(CP) $(builddir)/ElmerSolver$(EXEEXT) $(DESTDIR)$(prefix)/bin ++ $(CP) $(builddir)/ViewFactors$(EXEEXT) $(DESTDIR)$(prefix)/bin ++ $(CP) $(builddir)/GebhardtFactors$(EXEEXT) $(DESTDIR)$(prefix)/bin + if USE_WINDOWS_COMPILER + $(CP) libelmersolver*$(SHL_EXT) $(DESTDIR)$(prefix)/lib + else +- $(CP) libelmersolver-$(VERSION)$(SHL_EXT) $(DESTDIR)$(prefix)/lib ++ mkdir -p $(DESTDIR)$(prefix)/$(libdir) ++ $(CP) $(builddir)/libelmersolver-$(VERSION)$(SHL_EXT) $(DESTDIR)$(prefix)/$(libdir) + $(LN) -sf libelmersolver-$(VERSION)$(SHL_EXT)\ +- $(DESTDIR)$(prefix)/lib/libelmersolver$(SHL_EXT) ++ $(DESTDIR)$(prefix)/$(libdir)/libelmersolver$(SHL_EXT) + endif +- $(CP) elmerf90 elmerf90-nosh elmerld $(DESTDIR)$(prefix)/bin ++ $(CP) $(builddir)/elmerf90 $(builddir)/elmerf90-nosh elmerld $(DESTDIR)$(prefix)/bin + if USE_MPI +- $(CP) ElmerSolver_mpi$(EXEEXT) $(DESTDIR)$(prefix)/bin ++ $(CP) $(builddir)/ElmerSolver_mpi$(EXEEXT) $(DESTDIR)$(prefix)/bin + endif + + clean-local: diff --git a/sci-misc/elmer-fem/files/elmer-fem-6.0_p4651-underlinking.patch b/sci-misc/elmer-fem/files/elmer-fem-6.0_p4651-underlinking.patch new file mode 100644 index 000000000..7c6be1d8c --- /dev/null +++ b/sci-misc/elmer-fem/files/elmer-fem-6.0_p4651-underlinking.patch @@ -0,0 +1,23 @@ + src/Makefile.am | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/Makefile.am b/src/Makefile.am +index b94705c..92de7a4 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -122,13 +122,13 @@ if USE_WINDOWS_COMPILER + else + $(FC) $(SH_LINKING_TO_FLAGS) $(RPATH_ELMER) $(B64FLAGS) $(LDFLAGS) \ + -o ViewFactors$(EXE_EXT) ViewFactors$(OBJ_EXT) mpi_stubs$(OBJ_EXT) \ +- -L. -lelmersolver viewaxis/libviewaxis.a view3d/libview3d.a $(EXTRA_LIBS) $(BLAS_LIBS) $(STDCXX_LIBS) ++ -L. -lelmersolver viewaxis/libviewaxis.a view3d/libview3d.a $(EXTRA_LIBS) $(BLAS_LIBS) $(STDCXX_LIBS) -lhuti + endif + + GebhardtFactors$(EXE_EXT): libelmersolver$(SHL_EXT) GebhardtFactors$(OBJ_EXT) mpi_stubs$(OBJ_EXT) + $(FC) $(SH_LINKING_TO_FLAGS) $(RPATH_ELMER) $(B64FLAGS) $(LDFLAGS) \ + -o GebhardtFactors$(EXE_EXT) GebhardtFactors$(OBJ_EXT) mpi_stubs$(OBJ_EXT) \ +- -L. -lelmersolver viewaxis/libviewaxis.a view3d/libview3d.a $(EXTRA_LIBS) ++ -L. -lelmersolver viewaxis/libviewaxis.a view3d/libview3d.a $(EXTRA_LIBS) -lhuti + + + |