summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-03-31 20:25:10 +0000
committerJustin Lecher <jlec@gentoo.org>2010-03-31 20:25:10 +0000
commit729566c9671170192b92c75b925196f0aa666249 (patch)
tree036a9bea7e5279ddb43d82102ba9bc4041a26ef6 /sci-libs/cbflib/files
parentRemove USE logrotate wrt #258173 by Thilo Bangert. (diff)
downloadgentoo-2-729566c9671170192b92c75b925196f0aa666249.tar.gz
gentoo-2-729566c9671170192b92c75b925196f0aa666249.tar.bz2
gentoo-2-729566c9671170192b92c75b925196f0aa666249.zip
added missing linking against libm, #312357
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/cbflib/files')
-rw-r--r--sci-libs/cbflib/files/0.8.1-Makefile.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/sci-libs/cbflib/files/0.8.1-Makefile.patch b/sci-libs/cbflib/files/0.8.1-Makefile.patch
index d3a95c316d8e..d36a5dbffd24 100644
--- a/sci-libs/cbflib/files/0.8.1-Makefile.patch
+++ b/sci-libs/cbflib/files/0.8.1-Makefile.patch
@@ -23,7 +23,7 @@ index e5912ce..cfc658a 100644
$(SOLIB)/libcbf.so: $(SOURCE) $(HEADERS) $(COMMONDEP) $(SOLIB)
$(CC) $(CFLAGS) $(SOCFLAGS) $(INCLUDES) $(WARNINGS) -c $(SOURCE)
- $(CC) -o $@ *.o $(SOLDFLAGS)
-+ $(CC) $(LDFLAGS) -Wl,-soname,libcbf.so.0.8 $(SOCFLAGS) $(SOLDFLAGS) -o $@ *.o -lgfortran
++ $(CC) $(LDFLAGS) -Wl,-soname,libcbf.so.0.8 $(SOCFLAGS) $(SOLDFLAGS) -o $@ *.o -lgfortran -lm
rm *.o
#
@@ -32,7 +32,7 @@ index e5912ce..cfc658a 100644
$(SOLIB)/libimg.so: $(SOURCE) $(HEADERS) $(COMMONDEP) $(SOLIB)
$(CC) $(CFLAGS) $(SOCFLAGS) $(INCLUDES) $(WARNINGS) -c $(EXAMPLES)/img.c
- $(CC) -o $@ *.o $(SOLDFLAGS)
-+ $(CC) $(LDFLAGS) -Wl,-soname,libimg.so.0.8 $(SOLDFLAGS) -o $@ *.o
++ $(CC) $(LDFLAGS) -Wl,-soname,libimg.so.0.8 $(SOLDFLAGS) -o $@ *.o -lm
rm *.o
#