summaryrefslogtreecommitdiff
path: root/mail/postfix
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-06-07 16:30:25 +0000
committerjperkin <jperkin@pkgsrc.org>2013-06-07 16:30:25 +0000
commit5fb2a77f5fa21c92fff4a9ed0cc797fec003d79a (patch)
treee98bad1dedeb87f3227e54ee048401a2a6f6d31a /mail/postfix
parent92cd0113e66784aee40d4578d97f2f5e10a70605 (diff)
downloadpkgsrc-5fb2a77f5fa21c92fff4a9ed0cc797fec003d79a.tar.gz
Ensure postfix is largefile aware on SunOS.
Bump PKGREVISION.
Diffstat (limited to 'mail/postfix')
-rw-r--r--mail/postfix/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile
index 9d87ad72e46..ebbfbdd3bfa 100644
--- a/mail/postfix/Makefile
+++ b/mail/postfix/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.264 2013/05/31 12:41:20 wiz Exp $
+# $NetBSD: Makefile,v 1.265 2013/06/07 16:30:25 jperkin Exp $
DISTNAME= postfix-2.9.6
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= mail
MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/
MASTER_SITES+= http://postfix.it-austria.net/releases/official/
@@ -141,6 +141,8 @@ SUBST_STAGE.nis= post-patch
SUBST_SED.nis= -e 's,\#define HAS_NISPLUS,\#undef HAS_NISPLUS,g'
.endif
+CFLAGS.SunOS+= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+
.if !empty(USE_DESTDIR:M[Yy][Ee][Ss])
DESTDIR_INSTALLOPTIONS=-package install_root="${DESTDIR}"
.endif