summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-10-01 10:31:57 +0000
committeragc <agc@pkgsrc.org>1999-10-01 10:31:57 +0000
commit26bca09eacd244ab18b5c58edbe041299cbe73db (patch)
treedc0d54ee045a8af314a9e4a39dea2397716149a6 /mail
parentc9695e531955804cb1467e309f7c8f56c0f140af (diff)
downloadpkgsrc-26bca09eacd244ab18b5c58edbe041299cbe73db.tar.gz
Make this package compile on Solaris.
Diffstat (limited to 'mail')
-rw-r--r--mail/fetchmail/Makefile4
-rw-r--r--mail/fetchmail/files/patch-sum4
-rw-r--r--mail/fetchmail/patches/patch-ab56
3 files changed, 47 insertions, 17 deletions
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile
index d6d1fa961d2..9672db4b909 100644
--- a/mail/fetchmail/Makefile
+++ b/mail/fetchmail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 1999/09/25 11:18:33 frueauf Exp $
+# $NetBSD: Makefile,v 1.56 1999/10/01 10:31:57 agc Exp $
#
DISTNAME= fetchmail-5.1.0
@@ -32,8 +32,10 @@ CONFIGURE_ARGS+=--enable-inet6
FDOC= ${PREFIX}/share/doc/fetchmail
+.if ${OPSYS} == "NetBSD"
post-extract:
${RM} -f ${WRKSRC}/md5.h
+.endif
pre-configure:
(cd ${WRKSRC}; autoreconf)
diff --git a/mail/fetchmail/files/patch-sum b/mail/fetchmail/files/patch-sum
index 0837826d477..687de9fb86f 100644
--- a/mail/fetchmail/files/patch-sum
+++ b/mail/fetchmail/files/patch-sum
@@ -1,7 +1,7 @@
-$NetBSD: patch-sum,v 1.2 1999/09/16 16:52:26 frueauf Exp $
+$NetBSD: patch-sum,v 1.3 1999/10/01 10:31:58 agc Exp $
MD5 (patch-aa) = cb10796c3cefc904c35704e8bcd9bde7
-MD5 (patch-ab) = 18f07546a4e34491fc749246f778f747
+MD5 (patch-ab) = a2b5792df3ab9ccb0fe9a672cd1ae5e5
MD5 (patch-ac) = 0d3ec248fde73c402eea978fbe54c911
MD5 (patch-ba) = 498ab1120edc90111572689f142c953b
MD5 (patch-bb) = 39f9be97652cf615519a7f7f44264803
diff --git a/mail/fetchmail/patches/patch-ab b/mail/fetchmail/patches/patch-ab
index 8864af8d893..81f64d925e6 100644
--- a/mail/fetchmail/patches/patch-ab
+++ b/mail/fetchmail/patches/patch-ab
@@ -1,26 +1,54 @@
-$NetBSD: patch-ab,v 1.8 1999/09/16 16:51:51 frueauf Exp $
+$NetBSD: patch-ab,v 1.9 1999/10/01 10:31:59 agc Exp $
---- Makefile.in.orig Tue Sep 14 12:53:08 1999
-+++ Makefile.in Thu Sep 16 18:38:36 1999
-@@ -84,7 +84,7 @@
+--- Makefile.in.orig Wed Sep 22 06:27:27 1999
++++ Makefile.in Fri Oct 1 11:26:25 1999
+@@ -82,14 +82,25 @@
+ ETAGS = etags
+ CTAGS = ctags
++OPSYS!= uname -s
++
++.if ${OPSYS} == "SunOS"
protobjs = rcfile_y.o rcfile_l.o socket.o getpass.o pop2.o pop3.o imap.o \
etrn.o fetchmail.o env.o options.o daemon.o driver.o sink.o \
-- rfc822.o smtp.o xmalloc.o uid.o mxget.o md5c.o md5ify.o rpa.o \
-+ rfc822.o smtp.o xmalloc.o uid.o mxget.o md5ify.o rpa.o \
+ rfc822.o smtp.o xmalloc.o uid.o mxget.o md5c.o md5ify.o rpa.o \
interface.o netrc.o base64.o error.o unmime.o conf.o checkalias.o \
smbdes.o smbencrypt.o smbmd4.o smbutil.o
++.else
++protobjs = rcfile_y.o rcfile_l.o socket.o getpass.o pop2.o pop3.o imap.o \
++ etrn.o fetchmail.o env.o options.o daemon.o driver.o sink.o \
++ rfc822.o smtp.o xmalloc.o uid.o mxget.o md5ify.o rpa.o \
++ interface.o netrc.o base64.o error.o unmime.o conf.o checkalias.o \
++ smbdes.o smbencrypt.o smbmd4.o smbutil.o
++.endif
-@@ -96,7 +96,7 @@
- $(srcdir)/options.c $(srcdir)/daemon.c $(srcdir)/driver.c \
- $(srcdir)/sink.c $(srcdir)/rfc822.c $(srcdir)/smtp.c \
- $(srcdir)/xmalloc.c $(srcdir)/uid.c $(srcdir)/mxget.c \
-- $(srcdir)/md5c.c $(srcdir)/md5ify.c $(srcdir)/rpa.c \
-+ $(srcdir)/md5ify.c $(srcdir)/rpa.c \
- $(srcdir)/interface.c $(srcdir)/netrc.c $(srcdir)/base64.c \
+ objs = $(protobjs) $(extras) $(EXTRAOBJ)
+
++.if ${OPSYS} == "SunOS"
+ srcs = $(srcdir)/socket.c $(srcdir)/getpass.c $(srcdir)/pop2.c \
+ $(srcdir)/pop3.c $(srcdir)/imap.c $(srcdir)/etrn.c \
+ $(srcdir)/fetchmail.c $(srcdir)/env.c \
+@@ -101,6 +112,19 @@
$(srcdir)/error.c $(srcdir)/unmime.c $(srcdir)/conf.c \
$(srcdir)/checkalias.c $(srcdir)/smbdes.c $(srcdir)/smbencrypt.c \
-@@ -151,7 +151,7 @@
+ $(srcdir)/smbmd4.c $(srcdir)/smbutil.c
++.else
++srcs = $(srcdir)/socket.c $(srcdir)/getpass.c $(srcdir)/pop2.c \
++ $(srcdir)/pop3.c $(srcdir)/imap.c $(srcdir)/etrn.c \
++ $(srcdir)/fetchmail.c $(srcdir)/env.c \
++ $(srcdir)/options.c $(srcdir)/daemon.c $(srcdir)/driver.c \
++ $(srcdir)/sink.c $(srcdir)/rfc822.c $(srcdir)/smtp.c \
++ $(srcdir)/xmalloc.c $(srcdir)/uid.c $(srcdir)/mxget.c \
++ $(srcdir)/md5ify.c $(srcdir)/rpa.c \
++ $(srcdir)/interface.c $(srcdir)/netrc.c $(srcdir)/base64.c \
++ $(srcdir)/error.c $(srcdir)/unmime.c $(srcdir)/conf.c \
++ $(srcdir)/checkalias.c $(srcdir)/smbdes.c $(srcdir)/smbencrypt.c \
++ $(srcdir)/smbmd4.c $(srcdir)/smbutil.c
++.endif
+
+ .SUFFIXES:
+ .SUFFIXES: .o .c .h .y .l .ps .dvi .info .texi
+@@ -151,7 +175,7 @@
@echo "Installing fetchmail binary..."
$(INSTALL_PROGRAM) ./fetchmail $(bindir)/fetchmail
@echo "Installing fetchmail configurator..."