CVS commit: pkgsrc/mail/cyrus-imapd312

"Makoto Fujiwara" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <[email protected]>
Module Name:	pkgsrc
Committed By:	mef
Date:		Sun Jul 26 02:43:18 UTC 2026

Modified Files:
	pkgsrc/mail/cyrus-imapd312: Makefile distinfo
Added Files:
	pkgsrc/mail/cyrus-imapd312/patches: patch-configure.ac
Removed Files:
	pkgsrc/mail/cyrus-imapd312/patches: patch-Makefile.in patch-configure

Log Message:
(mail/cyrus-imapd312) Fix patching issue on some environment,

See Following
  https://mail-index.netbsd.org/pkgsrc-users/2026/07/25/msg043234.html


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/mail/cyrus-imapd312/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/mail/cyrus-imapd312/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/mail/cyrus-imapd312/patches/patch-Makefile.in \
    pkgsrc/mail/cyrus-imapd312/patches/patch-configure
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/cyrus-imapd312/patches/patch-configure.ac

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed) (text/x-diff, 3.3 KB)
Modified files:

Index: pkgsrc/mail/cyrus-imapd312/Makefile
diff -u pkgsrc/mail/cyrus-imapd312/Makefile:1.3 pkgsrc/mail/cyrus-imapd312/Makefile:1.4
--- pkgsrc/mail/cyrus-imapd312/Makefile:1.3	Thu Jul 16 19:03:59 2026
+++ pkgsrc/mail/cyrus-imapd312/Makefile	Sun Jul 26 02:43:18 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2026/07/16 19:03:59 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2026/07/26 02:43:18 mef Exp $
 
 DISTNAME=	cyrus-imapd-3.12.1
 PKGREVISION=	1
@@ -99,7 +99,7 @@ PERL5_PACKLIST= \
 	auto/Cyrus/IMAP/.packlist			\
 	auto/Cyrus/SIEVE/managesieve/.packlist
 
-post-extract:
+post-patch:
 	set -e; cd ${WRKSRC} && autoreconf -fi
 	set -e; cd ${WRKSRC}/docsrc/imap/reference/manpages/systemcommands && mv httpd.rst cyrus-httpd.rst
 

Index: pkgsrc/mail/cyrus-imapd312/distinfo
diff -u pkgsrc/mail/cyrus-imapd312/distinfo:1.2 pkgsrc/mail/cyrus-imapd312/distinfo:1.3
--- pkgsrc/mail/cyrus-imapd312/distinfo:1.2	Wed Mar 18 18:15:21 2026
+++ pkgsrc/mail/cyrus-imapd312/distinfo	Sun Jul 26 02:43:18 2026
@@ -1,14 +1,13 @@
-$NetBSD: distinfo,v 1.2 2026/03/18 18:15:21 nia Exp $
+$NetBSD: distinfo,v 1.3 2026/07/26 02:43:18 mef Exp $
 
 BLAKE2s (cyrus-imapd-3.12.1.tar.gz) = 24d07259b14e762f1ed59becd9ba14ec7d1e799bd73bba3f32d0535a97259b16
 SHA512 (cyrus-imapd-3.12.1.tar.gz) = 3089cbe79c176b4af922700426e04fa69cfe2aa23ddf393077499f7489228ad301402abbd3a17d8797700b77dcaabbe31540276e287e7bec79571a372dc37e82
 Size (cyrus-imapd-3.12.1.tar.gz) = 5232294 bytes
 SHA1 (patch-Makefile.am) = 05f5cb3676b3f2e226d5966740841aafa7dde843
-SHA1 (patch-Makefile.in) = 3bb072eb7042f3496796ede24994b077d26c404f
-SHA1 (patch-configure) = 6da0341a5ce1f58be3068ad3f6ed47c6a23787f7
+SHA1 (patch-configure.ac) = 90f3c579d5a53141ac78514a404a4ef71e1212fd
 SHA1 (patch-docsrc_conf.py) = 5474342cb1bb99e8e54ff4b011463bb0a5131a9c
 SHA1 (patch-docsrc_imap_concepts_overview__and__concepts.rst) = 4971c769790fe6b648c697a82961d32d93f7bcbb
-SHA1 (patch-lib_ptrarray.c) = ecd40f40094e2ba764f240cceaeb6c90a9dc89f0
 SHA1 (patch-docsrc_imap_developer_compiling.rst) = 3dd9b2be508a216f851dc7c8d880782ce6ad3464
 SHA1 (patch-docsrc_imap_download_installation_manage-dav.rst) = 2982b81eeac52d01aa8a50844a7f583bf87f9372
 SHA1 (patch-docsrc_imap_quickstart_introduction.rst) = aea770e1e22b47fe2bcc1183f690f69f192c26a5
+SHA1 (patch-lib_ptrarray.c) = ecd40f40094e2ba764f240cceaeb6c90a9dc89f0

Added files:

Index: pkgsrc/mail/cyrus-imapd312/patches/patch-configure.ac
diff -u /dev/null pkgsrc/mail/cyrus-imapd312/patches/patch-configure.ac:1.1
--- /dev/null	Sun Jul 26 02:43:18 2026
+++ pkgsrc/mail/cyrus-imapd312/patches/patch-configure.ac	Sun Jul 26 02:43:18 2026
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure.ac,v 1.1 2026/07/26 02:43:18 mef Exp $
+
+Fix SunOS build of the libcyrus.a library.
+
+--- configure.ac.orig	2025-06-27 12:01:15.000000000 +0900
++++ configure.ac	2026-07-26 11:29:44.895104813 +0900
+@@ -2077,7 +2077,7 @@ dnl add perl cccdlflags when building li
+ dnl libraries will be compiled as PIC if perl requires PIC objects
+ dnl -- this is needed on NetBSD and Linux, but seems to cause problems on atleast Solaris --
+     case "${target_os}" in
+-        linux*|netbsd*|freebsd*|dragonfly*|openbsd*)
++        linux*|netbsd*|freebsd*|dragonfly*|openbsd*|solaris2*)
+             AC_MSG_CHECKING(for perl cccdlflags needed on "${target_os}")
+             eval `${PERL} -V:cccdlflags`
+             PERL_CCCDLFLAGS="$cccdlflags"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.