Subject: pkg/22387: Fix for courier-imap under Solaris
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mike@ethmoid.org>
List: netbsd-bugs
Date: 08/06/2003 20:07:42
>Number: 22387
>Category: pkg
>Synopsis: Fix for Solaris courier-imap pkg
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Aug 07 00:08:03 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Michael Santos
>Release: NetBSD 1.6W
>Organization:
>Environment:
System: NetBSD ack-n 1.6W NetBSD 1.6W (ack-n) #61: Mon Aug 4 21:45:56 EDT 2003 root@ack-n:/home/build/src/sys/arch/i386/compile/obj/ack-n i386
Architecture: i386
Machine: i386
>Description:
See: http://www.inter7.com/courierimap/FAQ.html#solarisbug
As well, /usr/ucb/install -d takes only one dir as an arg
>How-To-Repeat:
cd /usr/pkgsrc/mail/courier-imap && bmake install
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/mail/courier-imap/Makefile,v
retrieving revision 1.16
diff -U2 -r1.16 Makefile
--- Makefile 2003/01/28 22:03:29 1.16
+++ Makefile 2003/08/04 18:14:31
@@ -15,4 +15,8 @@
.include "../../mail/courier-auth/Makefile.common"
+.if ${OPSYS} == "SunOS"
+CONFIGURE_ARGS+= --with-waitfunc=wait3
+.endif
+
CONFIGURE_ENV+= OPENSSL=${BUILDLINK_PREFIX.openssl}/bin/openssl
@@ -61,5 +65,6 @@
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 \
>Release-Note:
>Audit-Trail:
>Unformatted: