summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-10-11 07:39:31 +0000
committergrant <grant@pkgsrc.org>2003-10-11 07:39:31 +0000
commit745202c830ed747deabe752d8cd47cfce4d73da5 (patch)
tree8e2a344b3e6d56af5ab5565fd7ae30b0083422d2
parent467b308dcc7194bcd9aa79e4b6c2b04bc2bc5b17 (diff)
downloadpkgsrc-745202c830ed747deabe752d8cd47cfce4d73da5.tar.gz
pass --with-waitfunc=wait3 to configure. only create one directory at
a time in post-install. fixes build on Solaris. fix from Michael Santos in PR pkg/22387.
-rw-r--r--mail/courier-imap/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile
index 05c1f178aee..434f8fe211f 100644
--- a/mail/courier-imap/Makefile
+++ b/mail/courier-imap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2003/08/30 22:51:20 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2003/10/11 07:39:31 grant Exp $
DISTNAME= courier-imap-1.4.2
PKGREVISION= 1
@@ -15,6 +15,10 @@ DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
.include "../../mail/courier-auth/Makefile.common"
+.if ${OPSYS} == "SunOS"
+CONFIGURE_ARGS+= --with-waitfunc=wait3
+.endif
+
CONFIGURE_ENV+= OPENSSL=${BUILDLINK_PREFIX.openssl}/bin/openssl
.if defined(_STRIPFLAG_INSTALL) && !empty(_STRIPFLAG_INSTALL:M-s)
@@ -61,7 +65,8 @@ pre-configure:
done
post-install:
- ${INSTALL_DATA_DIR} ${EGDIR} ${DOCDIR}
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ ${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_SCRIPT} ${WRKSRC}/sysconftool ${SYSCONFTOOL}
${INSTALL_DATA} ${WRKSRC}/imap/BUGS \
${DOCDIR}/BUGS.imap