| @@ -1,66 +1,66 @@ | | | @@ -1,66 +1,66 @@ |
1 | # $NetBSD: Makefile.common,v 1.36 2019/12/13 13:06:11 adam Exp $ | | 1 | # $NetBSD: Makefile.common,v 1.37 2019/12/13 15:32:15 taca Exp $ |
2 | # | | 2 | # |
3 | # when updating to a new release, update ABI depends in | | 3 | # when updating to a new release, update ABI depends in |
4 | # the buildlink3.mk file as well, since the plugins' version | | 4 | # the buildlink3.mk file as well, since the plugins' version |
5 | # must match (see PR 49563). | | 5 | # must match (see PR 49563). |
6 | # | | 6 | # |
7 | # used by mail/dovecot2/Makefile | | 7 | # used by mail/dovecot2/Makefile |
8 | # used by mail/dovecot2-gssapi/Makefile | | 8 | # used by mail/dovecot2-gssapi/Makefile |
9 | # used by mail/dovecot2-ldap/Makefile | | 9 | # used by mail/dovecot2-ldap/Makefile |
10 | # used by mail/dovecot2-mysql/Makefile | | 10 | # used by mail/dovecot2-mysql/Makefile |
11 | # used by mail/dovecot2-pgsql/Makefile | | 11 | # used by mail/dovecot2-pgsql/Makefile |
12 | # used by mail/dovecot2-sqlite/Makefile | | 12 | # used by mail/dovecot2-sqlite/Makefile |
13 | | | 13 | |
14 | DISTNAME= dovecot-2.3.9.1 | | 14 | DISTNAME= dovecot-2.3.9.2 |
15 | CATEGORIES= mail | | 15 | CATEGORIES= mail |
16 | MASTER_SITES= https://dovecot.org/releases/${PKGVERSION_NOREV:R:R}/ | | 16 | MASTER_SITES= https://dovecot.org/releases/${PKGVERSION_NOREV:R:R}/ |
17 | | | 17 | |
18 | MAINTAINER= adam@NetBSD.org | | 18 | MAINTAINER= adam@NetBSD.org |
19 | HOMEPAGE= https://www.dovecot.org/ | | 19 | HOMEPAGE= https://www.dovecot.org/ |
20 | COMMENT= Secure IMAP and POP3 server | | 20 | COMMENT= Secure IMAP and POP3 server |
21 | LICENSE= mit AND gnu-lgpl-v2.1 AND modified-bsd | | 21 | LICENSE= mit AND gnu-lgpl-v2.1 AND modified-bsd |
22 | | | 22 | |
23 | DISTINFO_FILE= ${.CURDIR}/../../mail/dovecot2/distinfo | | 23 | DISTINFO_FILE= ${.CURDIR}/../../mail/dovecot2/distinfo |
24 | PATCHDIR= ${.CURDIR}/../../mail/dovecot2/patches | | 24 | PATCHDIR= ${.CURDIR}/../../mail/dovecot2/patches |
25 | | | 25 | |
26 | USE_LIBTOOL= yes | | 26 | USE_LIBTOOL= yes |
27 | USE_TOOLS+= gmake pkg-config rpcgen bash:run | | 27 | USE_TOOLS+= gmake pkg-config rpcgen bash:run |
28 | GNU_CONFIGURE= yes | | 28 | GNU_CONFIGURE= yes |
29 | | | 29 | |
30 | BUILD_DEFS+= VARBASE | | 30 | BUILD_DEFS+= VARBASE |
31 | | | 31 | |
32 | .include "../../mk/bsd.prefs.mk" | | 32 | .include "../../mk/bsd.prefs.mk" |
33 | | | 33 | |
34 | .if "${PKGPATH}" != "mail/dovecot2" | | 34 | .if "${PKGPATH}" != "mail/dovecot2" |
35 | DEPENDS+= dovecot>=${PKGVERSION_NOREV}{nb*,}:../../mail/dovecot2 | | 35 | DEPENDS+= dovecot>=${PKGVERSION_NOREV}{nb*,}:../../mail/dovecot2 |
36 | .endif | | 36 | .endif |
37 | | | 37 | |
38 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} | | 38 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} |
39 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} | | 39 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} |
40 | CONFIGURE_ARGS+= --with-ssldir=${SSLDIR} | | 40 | CONFIGURE_ARGS+= --with-ssldir=${SSLDIR} |
41 | CONFIGURE_ARGS+= --without-gssapi | | 41 | CONFIGURE_ARGS+= --without-gssapi |
42 | CONFIGURE_ARGS+= --without-ldap | | 42 | CONFIGURE_ARGS+= --without-ldap |
43 | | | 43 | |
44 | # Leave pkgsrc to enable compiler security features as appropriate. | | 44 | # Leave pkgsrc to enable compiler security features as appropriate. |
45 | CONFIGURE_ARGS+= --disable-hardening | | 45 | CONFIGURE_ARGS+= --disable-hardening |
46 | | | 46 | |
47 | # Enable generic SQL backend support | | 47 | # Enable generic SQL backend support |
48 | CONFIGURE_ARGS+= --with-sql | | 48 | CONFIGURE_ARGS+= --with-sql |
49 | | | 49 | |
50 | TEST_TARGET= check | | 50 | TEST_TARGET= check |
51 | | | 51 | |
52 | # Explicitly disable epoll/inotify on illumos, dovecot assumes Linux-specific | | 52 | # Explicitly disable epoll/inotify on illumos, dovecot assumes Linux-specific |
53 | # implementation details. | | 53 | # implementation details. |
54 | CONFIGURE_ARGS.SunOS+= --with-ioloop=poll | | 54 | CONFIGURE_ARGS.SunOS+= --with-ioloop=poll |
55 | CONFIGURE_ARGS.SunOS+= --with-notify=none | | 55 | CONFIGURE_ARGS.SunOS+= --with-notify=none |
56 | | | 56 | |
57 | # Sharing sources between binary and lib triggers libtool bugs | | 57 | # Sharing sources between binary and lib triggers libtool bugs |
58 | # mv: rename .deps/auth-stats.Tpo to .deps/auth-stats.Po: No such file or directory | | 58 | # mv: rename .deps/auth-stats.Tpo to .deps/auth-stats.Po: No such file or directory |
59 | #MAKE_JOBS_SAFE= no | | 59 | #MAKE_JOBS_SAFE= no |
60 | | | 60 | |
61 | .include "options.mk" | | 61 | .include "options.mk" |
62 | | | 62 | |
63 | .include "../../archivers/bzip2/buildlink3.mk" | | 63 | .include "../../archivers/bzip2/buildlink3.mk" |
64 | .include "../../archivers/lz4/buildlink3.mk" | | 64 | .include "../../archivers/lz4/buildlink3.mk" |
65 | .include "../../archivers/xz/buildlink3.mk" | | 65 | .include "../../archivers/xz/buildlink3.mk" |
66 | .include "../../devel/zlib/buildlink3.mk" | | 66 | .include "../../devel/zlib/buildlink3.mk" |