summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus D. Hanwell <cryos@gentoo.org>2005-02-01 15:43:45 +0000
committerMarcus D. Hanwell <cryos@gentoo.org>2005-02-01 15:43:45 +0000
commit79af2f86c397bf3231b80039f43895318c93aa41 (patch)
tree9db0efd165d4f39af9577189179a3fedb52e6d3d /net-mail/uw-imap/files
parentPatched Makefile to build shared library for amd64 (2004a-r1), also fixed the... (diff)
downloadgentoo-2-79af2f86c397bf3231b80039f43895318c93aa41.tar.gz
gentoo-2-79af2f86c397bf3231b80039f43895318c93aa41.tar.bz2
gentoo-2-79af2f86c397bf3231b80039f43895318c93aa41.zip
Patched Makefile to build shared library for amd64, as well as use -fPIC only for the shared library. Also fixed symlinking of c-client.a on multilib d added respect for CFLAGS.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'net-mail/uw-imap/files')
-rw-r--r--net-mail/uw-imap/files/digest-uw-imap-2004c-r11
-rw-r--r--net-mail/uw-imap/files/uw-imap-2004c-amd64-so-fix.patch13
2 files changed, 14 insertions, 0 deletions
diff --git a/net-mail/uw-imap/files/digest-uw-imap-2004c-r1 b/net-mail/uw-imap/files/digest-uw-imap-2004c-r1
new file mode 100644
index 000000000000..3e0d89c32ffc
--- /dev/null
+++ b/net-mail/uw-imap/files/digest-uw-imap-2004c-r1
@@ -0,0 +1 @@
+MD5 f0a1a2abfa4b1ed8074ce023724416f3 imap-2004c1.tar.Z 2227092
diff --git a/net-mail/uw-imap/files/uw-imap-2004c-amd64-so-fix.patch b/net-mail/uw-imap/files/uw-imap-2004c-amd64-so-fix.patch
new file mode 100644
index 000000000000..1400fc254c6d
--- /dev/null
+++ b/net-mail/uw-imap/files/uw-imap-2004c-amd64-so-fix.patch
@@ -0,0 +1,13 @@
+diff -ruN src/osdep/unix/Makefile src/osdep/unix/Makefile
+--- src/osdep/unix/Makefile 2005-01-29 22:43:25.739341544 +0000
++++ src/osdep/unix/Makefile 2005-01-29 22:43:50.375596264 +0000
+@@ -912,6 +912,9 @@
+ -DRSHPATH=\"$(RSHPATH)\" -DLOCKPGM=\"$(LOCKPGM)\" > OSCFLAGS
+ echo $(BASELDFLAGS) $(EXTRALDFLAGS) > LDFLAGS
+ echo "$(ARRC) $(ARCHIVE) $(BINARIES);$(RANLIB) $(ARCHIVE)" > ARCHIVE
++ echo "`$(CAT) CCTYPE` `$(CAT) CFLAGS` `$(CAT) OSFLAGS` -shared \
++ -Wl,-soname,libc-client.so.1 -o libc-client.so.1.0.0 $(BINARIES)" \
++ >> ARCHIVE
+ echo $(OS) > OSTYPE
+ ./drivers $(EXTRADRIVERS) $(DEFAULTDRIVERS) dummy
+ ./mkauths $(EXTRAAUTHENTICATORS) $(DEFAULTAUTHENTICATORS)