diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2012-06-17 21:14:32 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2012-06-17 21:14:32 +0000 |
commit | 64baedd6afcf69c910342cb07da794815c1b180d (patch) | |
tree | e9335802c70a64fcc7f551d91686ebf16919a5b8 /net-libs/axtls/files | |
parent | Newer fcitx always has dbus support, bug 421187 (diff) | |
download | gentoo-2-64baedd6afcf69c910342cb07da794815c1b180d.tar.gz gentoo-2-64baedd6afcf69c910342cb07da794815c1b180d.tar.bz2 gentoo-2-64baedd6afcf69c910342cb07da794815c1b180d.zip |
Make build system multilib aware, add USE=static-libs, for bug #421479
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/axtls/files')
-rw-r--r-- | net-libs/axtls/files/explicit-libdir.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/net-libs/axtls/files/explicit-libdir.patch b/net-libs/axtls/files/explicit-libdir.patch new file mode 100644 index 000000000000..9a1bc7e250dc --- /dev/null +++ b/net-libs/axtls/files/explicit-libdir.patch @@ -0,0 +1,41 @@ +diff -Naur axTLS.orig//Makefile axTLS/Makefile +--- axTLS.orig//Makefile 2011-01-07 08:16:40.000000000 -0500 ++++ axTLS/Makefile 2012-06-17 16:55:04.000000000 -0400 +@@ -60,6 +60,8 @@ + $(MAKE) -C samples + endif + ++LIBDIR = $(PREFIX)/lib ++ + $(STAGE) : ssl/version.h + @mkdir -p $(STAGE) + +@@ -68,7 +70,7 @@ + @echo "#define AXTLS_VERSION \"(no version)\"" > ssl/version.h + + $(PREFIX) : +- @mkdir -p $(PREFIX)/lib ++ @mkdir -p $(LIBDIR) + @mkdir -p $(PREFIX)/bin + + release: +@@ -89,8 +91,8 @@ + $(MAKE) win32releaseconf + + install: $(PREFIX) all +- cp --no-dereference $(STAGE)/libax* $(PREFIX)/lib +- chmod 755 $(PREFIX)/lib/libax* ++ cp --no-dereference $(STAGE)/libax* $(LIBDIR) ++ chmod 755 $(LIBDIR)/libax* + ifdef CONFIG_SAMPLES + install -m 755 $(STAGE)/ax* $(PREFIX)/bin + endif +@@ -112,7 +114,7 @@ + install -m 644 config/config.h $(PREFIX)/include/axTLS + + installclean: +- -@rm $(PREFIX)/lib/libax* > /dev/null 2>&1 ++ -@rm $(LIBDIR)/libax* > /dev/null 2>&1 + -@rm $(PREFIX)/bin/ax* > /dev/null 2>&1 + -@rm $(PREFIX)/bin/axhttpd* > /dev/null 2>&1 + -@rm `perl -e 'use Config; print $$Config{installarchlib};'`/axtlsp.pm > /dev/null 2>&1 |