summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-22 01:49:31 +0000
committerjlam <jlam@pkgsrc.org>2004-02-22 01:49:31 +0000
commitbba043843c2fc596822771bd0695811016477c03 (patch)
tree44f990eb305a2f1150f7b791e7ae34f4fd9212e2
parent19976703f5c5dee2cae46d5218f0ed29ad120823 (diff)
downloadpkgsrc-bba043843c2fc596822771bd0695811016477c03.tar.gz
Workaround a Solaris bug noted in:
http://www.inter7.com/courierimap/FAQ.html#solarisbug
-rw-r--r--mail/courier-auth/Makefile.common9
1 files changed, 8 insertions, 1 deletions
diff --git a/mail/courier-auth/Makefile.common b/mail/courier-auth/Makefile.common
index 13231c84478..db57e16fba3 100644
--- a/mail/courier-auth/Makefile.common
+++ b/mail/courier-auth/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.8 2004/02/21 14:43:15 jlam Exp $
+# $NetBSD: Makefile.common,v 1.9 2004/02/22 01:49:31 jlam Exp $
DISTNAME?= courier-${DIST_VERS}
CATEGORIES+= mail
@@ -43,6 +43,13 @@ CONFIGURE_ARGS+= --with-userdb=${PKG_SYSCONFDIR}/userdb
CONFIGURE_ARGS+= --with-makedatprog=${LIBEXECDIR}/makedatprog
CONFIGURE_ARGS+= --disable-root-check
+# Workaround a Solaris bug noted in:
+# http://www.inter7.com/courierimap/FAQ.html#solarisbug
+#
+.if ${OPSYS} == "SunOS"
+CONFIGURE_ARGS+= --with-waitfunc=wait3
+.endif
+
# Build authdaemon, but explicitly disable certain methods (ldap, mysql, pgsql)
# that are built in separate packages. We also disable authcustom since it's
# a template authentication method.