diff --git a/mail/c-client/patches/patch-src_osdep_unix_Makefile b/mail/c-client/patches/patch-src_osdep_unix_Makefile index f4bc2d9481b..e81fc53dd2b 100644 --- a/mail/c-client/patches/patch-src_osdep_unix_Makefile +++ b/mail/c-client/patches/patch-src_osdep_unix_Makefile @@ -1,6 +1,6 @@ -$OpenBSD: patch-src_osdep_unix_Makefile,v 1.8 2001/09/27 16:28:09 brad Exp $ ---- src/osdep/unix/Makefile.orig Wed Aug 29 15:15:15 2001 -+++ src/osdep/unix/Makefile Wed Sep 26 23:32:25 2001 +$OpenBSD: patch-src_osdep_unix_Makefile,v 1.9 2001/11/27 15:10:00 brad Exp $ +--- src/osdep/unix/Makefile.orig Tue Nov 6 19:23:48 2001 ++++ src/osdep/unix/Makefile Tue Nov 27 07:05:26 2001 @@ -28,8 +28,8 @@ SSLTYPE=none # Extended flags needed for SSL. You may need to modify. @@ -28,15 +28,19 @@ $OpenBSD: patch-src_osdep_unix_Makefile,v 1.8 2001/09/27 16:28:09 brad Exp $ CFLAGS=-g CAT=cat -@@ -123,6 +125,7 @@ MV=mv +@@ -123,6 +125,11 @@ MV=mv RM=rm -rf SH=sh ++.if ${MACHINE_ARCH} == "sparc64" ++PICFLAG= -fPIC ++.else +PICFLAG= -fpic ++.endif # Primary build command -@@ -234,7 +237,7 @@ bso: # OpenBSD +@@ -234,7 +241,7 @@ bso: # OpenBSD SPOOLDIR=/var \ ACTIVEFILE=/usr/local/news/lib/active \ RSHPATH=/usr/bin/rsh \ @@ -45,7 +49,7 @@ $OpenBSD: patch-src_osdep_unix_Makefile,v 1.8 2001/09/27 16:28:09 brad Exp $ cvx: # Convex $(BUILD) `$(CAT) SPECIALS` OS=$@ \ -@@ -762,23 +765,33 @@ vu2: # VAX Ultrix 2.3, etc. +@@ -762,23 +769,33 @@ vu2: # VAX Ultrix 2.3, etc. # Build it! @@ -81,7 +85,7 @@ $OpenBSD: patch-src_osdep_unix_Makefile,v 1.8 2001/09/27 16:28:09 brad Exp $ # Dependencies -@@ -812,7 +825,7 @@ utf8.o: mail.h misc.h osdep.h utf8.h +@@ -812,7 +829,7 @@ utf8.o: mail.h misc.h osdep.h utf8.h # OS-dependent @@ -90,7 +94,7 @@ $OpenBSD: patch-src_osdep_unix_Makefile,v 1.8 2001/09/27 16:28:09 brad Exp $ osdep.h env_unix.h tcp_unix.h \ osdep.c env_unix.c fs_unix.c ftl_unix.c nl_unix.c tcp_unix.c \ auths.c crexcl.c flocksim.c nfstest.c flcksafe.c fsync.c gethstid.c \ -@@ -824,7 +837,12 @@ osdep.o:mail.h misc.h env.h fs.h ftl.h n +@@ -824,7 +841,12 @@ osdep.o:mail.h misc.h env.h fs.h ftl.h n write.c sslstdio.c \ strerror.c strpbrk.c strstr.c strtok.c strtoul.c \ OSCFLAGS