diff options
Diffstat (limited to 'sci-biology/vaal/files/vaal-1.2-as-needed.patch')
-rw-r--r-- | sci-biology/vaal/files/vaal-1.2-as-needed.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sci-biology/vaal/files/vaal-1.2-as-needed.patch b/sci-biology/vaal/files/vaal-1.2-as-needed.patch new file mode 100644 index 000000000000..31649010dbe3 --- /dev/null +++ b/sci-biology/vaal/files/vaal-1.2-as-needed.patch @@ -0,0 +1,22 @@ +--- VAAL.orig/MakeDepend.cc 2008-12-18 17:05:48.000000000 +0100 ++++ VAAL/MakeDepend.cc 2010-02-14 13:42:23.734370178 +0100 +@@ -1195,9 +1195,6 @@ + } + } + mf << " -L. -L$(LIB) -L$(OBJ) $(LINK_LIBS)"; +- for ( set<string>::iterator dep_iter = lib_deps.begin(); +- dep_iter != lib_deps.end(); ++dep_iter ) +- mf << " " << "$(" << *dep_iter << "_LFLAGS)"; + for ( set<string>::iterator dep_iter = sharedlib_deps.begin(); + dep_iter != sharedlib_deps.end(); ++dep_iter ) { + // Extract the symbolic name of this library from its filename. +@@ -1208,6 +1205,9 @@ + mf << " -l" << sharedlib_name; + } + mf << " -l" << libname; ++ for ( set<string>::iterator dep_iter = lib_deps.begin(); ++ dep_iter != lib_deps.end(); ++dep_iter ) ++ mf << " " << "$(" << *dep_iter << "_LFLAGS)"; + mf << "\n\t" << "/bin/rm $(OBJ)/lib" << libname << ".a\n"; + } + } |