pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/dovecot2 Move PKGPATH check after bsd.prefs.mk to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3d63f7632898
branches:  trunk
changeset: 388168:3d63f7632898
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sat Dec 01 11:42:41 2018 +0000

description:
Move PKGPATH check after bsd.prefs.mk to fix circular dependency.

diffstat:

 mail/dovecot2/Makefile.common |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r 582112438d10 -r 3d63f7632898 mail/dovecot2/Makefile.common
--- a/mail/dovecot2/Makefile.common     Sat Dec 01 11:38:23 2018 +0000
+++ b/mail/dovecot2/Makefile.common     Sat Dec 01 11:42:41 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.22 2018/11/30 18:43:09 adam Exp $
+# $NetBSD: Makefile.common,v 1.23 2018/12/01 11:42:41 schmonz Exp $
 #
 # when updating to a new release, update ABI depends in
 # the buildlink3.mk file as well, since the plugins' version
@@ -23,16 +23,16 @@
 DISTINFO_FILE= ${.CURDIR}/../../mail/dovecot2/distinfo
 PATCHDIR=      ${.CURDIR}/../../mail/dovecot2/patches
 
-.if "${PKGPATH}" != "mail/dovecot2"
-DEPENDS+=      dovecot>=${PKGVERSION_NOREV}{nb*,}:../../mail/dovecot2
-.endif
-
 USE_LIBTOOL=           yes
 USE_TOOLS+=            gmake pkg-config rpcgen
 GNU_CONFIGURE=         yes
 
 .include "../../mk/bsd.prefs.mk"
 
+.if "${PKGPATH}" != "mail/dovecot2"
+DEPENDS+=              dovecot>=${PKGVERSION_NOREV}{nb*,}:../../mail/dovecot2
+.endif
+
 CONFIGURE_ARGS+=       --localstatedir=${VARBASE}
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
 CONFIGURE_ARGS+=       --with-ssldir=${SSLDIR}



Home | Main Index | Thread Index | Old Index