summaryrefslogtreecommitdiff
path: root/mail/dovecot2
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2018-12-01 11:42:41 +0000
committerschmonz <schmonz@pkgsrc.org>2018-12-01 11:42:41 +0000
commit353470a089f220ae851875318e798cee3c3ff13a (patch)
treed69a62827ddefccc3bc42897b4caf4d2500033f6 /mail/dovecot2
parent2283a42710abda774a6d8f2315068095852e23b6 (diff)
downloadpkgsrc-353470a089f220ae851875318e798cee3c3ff13a.tar.gz
Move PKGPATH check after bsd.prefs.mk to fix circular dependency.
Diffstat (limited to 'mail/dovecot2')
-rw-r--r--mail/dovecot2/Makefile.common10
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/dovecot2/Makefile.common b/mail/dovecot2/Makefile.common
index 2cc970f0dee..882fddeba31 100644
--- a/mail/dovecot2/Makefile.common
+++ b/mail/dovecot2/Makefile.common
@@ -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 @@ LICENSE= mit AND gnu-lgpl-v2.1 AND modified-bsd
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}