summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-14 20:08:13 +0000
committerMike Frysinger <vapier@gentoo.org>2009-01-14 20:08:13 +0000
commit3c131a4d27e25b3568301cfd2e2fe4e4ef2f07d0 (patch)
treebbf01fe31fe71c82b710691eb3f9419c1d7b7d37 /dev-libs/libaio/files
parentStable for HPPA (bug #254307). (diff)
downloadhistorical-3c131a4d27e25b3568301cfd2e2fe4e4ef2f07d0.tar.gz
historical-3c131a4d27e25b3568301cfd2e2fe4e4ef2f07d0.tar.bz2
historical-3c131a4d27e25b3568301cfd2e2fe4e4ef2f07d0.zip
Respect AR/RANLIB in env.
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.28 x86_64
Diffstat (limited to 'dev-libs/libaio/files')
-rw-r--r--dev-libs/libaio/files/libaio-0.3.107-ar-ranlib.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-libs/libaio/files/libaio-0.3.107-ar-ranlib.patch b/dev-libs/libaio/files/libaio-0.3.107-ar-ranlib.patch
new file mode 100644
index 000000000000..d1ec1403a0e9
--- /dev/null
+++ b/dev-libs/libaio/files/libaio-0.3.107-ar-ranlib.patch
@@ -0,0 +1,17 @@
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -42,10 +42,12 @@
+ $(CC) $(L_CFLAGS) -c -o $@ $<
+
+
++AR ?= ar
++RANLIB ?= ranlib
+ libaio.a: $(libaio_objs)
+ rm -f libaio.a
+- ar r libaio.a $^
+- ranlib libaio.a
++ $(AR) r libaio.a $^
++ $(RANLIB) libaio.a
+
+ $(libname): $(libaio_sobjs) libaio.map
+ $(CC) $(SO_CFLAGS) -Wl,--version-script=libaio.map -Wl,-soname,$(soname) -o $@ $(libaio_sobjs) $(LINK_FLAGS)