summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-04-28 19:56:18 +0000
committerJustin Lecher <jlec@gentoo.org>2010-04-28 19:56:18 +0000
commitb7e2cd8b2f8ba4f6f3a11cabb14302d68aaa0215 (patch)
tree25e569b9640882bf05c02eb76231a718e4bc32fa /sci-libs/cbflib/files
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-b7e2cd8b2f8ba4f6f3a11cabb14302d68aaa0215.tar.gz
gentoo-2-b7e2cd8b2f8ba4f6f3a11cabb14302d68aaa0215.tar.bz2
gentoo-2-b7e2cd8b2f8ba4f6f3a11cabb14302d68aaa0215.zip
Version Bump, #317261
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/cbflib/files')
-rw-r--r--sci-libs/cbflib/files/0.9.0-Makefile.patch69
1 files changed, 69 insertions, 0 deletions
diff --git a/sci-libs/cbflib/files/0.9.0-Makefile.patch b/sci-libs/cbflib/files/0.9.0-Makefile.patch
new file mode 100644
index 000000000000..27ecdff88fc1
--- /dev/null
+++ b/sci-libs/cbflib/files/0.9.0-Makefile.patch
@@ -0,0 +1,69 @@
+diff --git a/Makefile_LINUX_gcc42 b/Makefile_LINUX_gcc42
+index 52c5286..5d922a7 100644
+--- a/Makefile_LINUX_gcc42
++++ b/Makefile_LINUX_gcc42
+@@ -282,7 +282,7 @@ SHAR = /usr/bin/shar
+ #
+ # Program to use to create archives
+ #
+-AR = /usr/bin/ar
++AR = ar
+
+ #
+ # Program to use to add an index to an archive
+@@ -292,13 +292,13 @@ RANLIB = /usr/bin/ranlib
+ #
+ # Program to use to decompress a data file
+ #
+-DECOMPRESS = /usr/bin/bunzip2
++DECOMPRESS = bunzip2
+
+
+ #
+ # Program to use to compress a data file
+ #
+-COMPRESS = /usr/bin/bzip2
++COMPRESS = bzip2
+
+ #
+ # Program to use to generate a signature
+@@ -486,9 +486,9 @@ F90SOURCE = $(SRC)/fcb_atol_wcnt.f90 \
+ $(SRC)/fcb_read_image.f90 \
+ $(SRC)/fcb_read_line.f90 \
+ $(SRC)/fcb_read_xds_i2.f90 \
+- $(SRC)/fcb_skip_whitespace.f90 \
+- $(EXAMPLES)/test_fcb_read_image.f90 \
+- $(EXAMPLES)/test_xds_binary.f90
++ $(SRC)/fcb_skip_whitespace.f90
++# $(EXAMPLES)/test_fcb_read_image.f90 \
++# $(EXAMPLES)/test_xds_binary.f90
+
+
+ #
+@@ -849,7 +849,7 @@ endif
+ $(SOLIB)/libcbf.so: $(SOURCE) $(HEADERS) $(COMMONDEP) $(SOLIB)
+ $(CC) $(CFLAGS) $(SOCFLAGS) $(INCLUDES) $(WARNINGS) -c $(SOURCE)
+ mv *.o $(SOLIB)
+- $(CC) -o $@ $(SOLIB)/*.o $(SOLDFLAGS) $(EXTRALIBS)
++ $(CC) $(LDFLAGS) -Wl,-soname,libcbf.so.$(VERSION) $(SOCFLAGS) $(SOLDFLAGS) -o $@ $(SOLIB)/*.o $(EXTRALIBS)
+
+ #
+ # IMG library
+@@ -864,7 +864,7 @@ endif
+
+ $(SOLIB)/libimg.so: $(SOURCE) $(HEADERS) $(COMMONDEP) $(SOLIB)
+ $(CC) $(CFLAGS) $(SOCFLAGS) $(INCLUDES) $(WARNINGS) -c $(EXAMPLES)/img.c
+- $(CC) -o $@ img.o $(SOLDFLAGS)
++ $(CC) $(LDFLAGS) -Wl,-soname,libimg.so.$(VERSION) $(SOCFLAGS) $(SOLDFLAGS) -o $@ img.o
+ rm img.o
+
+ #
+@@ -891,7 +891,7 @@ endif
+ $(SOLIB)/libfcb.so: $(F90SOURCE) $(HEADERS) $(COMMONDEP) $(SOLIB)
+ ifneq ($(F90C),)
+ $(F90C) $(F90FLAGS) $(SOCFLAGS) $(INCLUDES) $(WARNINGS) -c $(F90SOURCE)
+- $(F90C) $(F90FLAGS) -o $@ *.o $(SOLDFLAGS)
++ $(F90C) $(LDFLAGS) -Wl,-soname,libfcb.so.$(VERSION) $(SOCFLAGS) $(SOLDFLAGS) $(F90FLAGS) -o $@ *.o
+ rm *.o
+ else
+ echo "Define F90C to build $(SOLIB)/libfcb.so"