summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorschwarz <schwarz@pkgsrc.org>2006-10-28 15:17:17 +0000
committerschwarz <schwarz@pkgsrc.org>2006-10-28 15:17:17 +0000
commit7b6da6d56948af1eb2e2935650c04661e870ec2e (patch)
treec5616682c23d76df416ee52ef0e32b55330630d9 /mail
parent60f807f0d02ccc53896fa95ab5eb94e5a8d1f34b (diff)
downloadpkgsrc-7b6da6d56948af1eb2e2935650c04661e870ec2e.tar.gz
added support for IRIX 5
Diffstat (limited to 'mail')
-rw-r--r--mail/deliver/Makefile8
-rw-r--r--mail/deliver/distinfo4
-rw-r--r--mail/deliver/patches/patch-ad15
3 files changed, 20 insertions, 7 deletions
diff --git a/mail/deliver/Makefile b/mail/deliver/Makefile
index 7a9ff5857ff..45eb0cabf8d 100644
--- a/mail/deliver/Makefile
+++ b/mail/deliver/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2006/06/20 22:13:33 minskim Exp $
+# $NetBSD: Makefile,v 1.10 2006/10/28 15:17:17 schwarz Exp $
DISTNAME= deliver-2.1.14
PKGREVISION= 1
@@ -16,6 +16,12 @@ PKG_SYSCONFSUBDIR= deliver
PKG_OPTIONS_VAR= PKG_OPTIONS.deliver
PKG_SUPPORTED_OPTIONS= deliver-suid
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(LOWER_OPSYS:Mirix5*)
+CPPFLAGS+= -DNO_SYS_TIMEB_H
+.endif
+
.include "../../mk/bsd.options.mk"
pre-configure:
diff --git a/mail/deliver/distinfo b/mail/deliver/distinfo
index 9aaba3f8e3e..e4a25715e29 100644
--- a/mail/deliver/distinfo
+++ b/mail/deliver/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2006/06/21 15:18:42 minskim Exp $
+$NetBSD: distinfo,v 1.9 2006/10/28 15:17:17 schwarz Exp $
SHA1 (deliver-2.1.14.tar.gz) = 77d591f29b8829b3c347eb107a427ad826ffca99
RMD160 (deliver-2.1.14.tar.gz) = fb3857e952ea7b4b20f3e77b38a4f633434ce533
@@ -6,7 +6,7 @@ Size (deliver-2.1.14.tar.gz) = 80892 bytes
SHA1 (patch-aa) = 53e640ea5e5e5c92a29ffa4d49ac9d8c91e60b16
SHA1 (patch-ab) = 719d400005844fe824bab7106c97f66e4c8867b3
SHA1 (patch-ac) = 2f47891e3bc46aec12c93a647fbd751397b7d9fe
-SHA1 (patch-ad) = 0404e117fda6f03ddc99c819353925c8714fced2
+SHA1 (patch-ad) = b497c475867bce9d9b9246aac14b5794b43b5877
SHA1 (patch-ae) = a4e478765a240a2099c101ddd2d6abf3ddcf0ba2
SHA1 (patch-af) = bc14f87956fde8f08146c79b9435cb753d5f5a2a
SHA1 (patch-ag) = 1ea8ca73ce2f930444cdcb3a09f49a11926bf3da
diff --git a/mail/deliver/patches/patch-ad b/mail/deliver/patches/patch-ad
index 64f1f151f19..879610d1ec8 100644
--- a/mail/deliver/patches/patch-ad
+++ b/mail/deliver/patches/patch-ad
@@ -1,8 +1,8 @@
-$NetBSD: patch-ad,v 1.1.1.1 2001/04/27 14:06:05 wiz Exp $
+$NetBSD: patch-ad,v 1.2 2006/10/28 15:17:17 schwarz Exp $
---- unctime.y.orig Wed Dec 1 19:16:21 1999
-+++ unctime.y Sun Jan 30 08:41:53 2000
-@@ -80,6 +80,9 @@
+--- unctime.y.orig 1999-12-02 03:16:21.000000000 +0100
++++ unctime.y 2006-10-28 13:10:57.000000000 +0200
+@@ -80,12 +80,15 @@
# define USE_FTIME
# endif
#endif
@@ -12,6 +12,13 @@ $NetBSD: patch-ad,v 1.1.1.1 2001/04/27 14:06:05 wiz Exp $
#ifdef USE_GETTOD
# include <sys/time.h>
+ #else
+ # include <time.h>
+-# ifdef USE_FTIME
++# if defined(USE_FTIME) && !defined(NO_SYS_TIMEB_H)
+ # include <sys/timeb.h>
+ # endif
+ #endif
@@ -331,6 +334,7 @@
/* Is y a leap year? */
#define leap(y) (((y) % 4 == 0 && (y) % 100 != 0) || (y) % 400 == 0)