diff options
author | adam <adam> | 2011-01-13 13:43:04 +0000 |
---|---|---|
committer | adam <adam> | 2011-01-13 13:43:04 +0000 |
commit | cfbf6dbf1cd028de2172527f8d98ab5c78857b4f (patch) | |
tree | b845d54a9dfc235a8368895f55948ebd44d0aba9 /mail | |
parent | 7485b2b7a0cd79c171e558ae7a13d992bb45af8d (diff) | |
download | pkgsrc-cfbf6dbf1cd028de2172527f8d98ab5c78857b4f.tar.gz |
Fix buildlinking when ssl or gnutls has been set
Diffstat (limited to 'mail')
-rw-r--r-- | mail/dovecot2/buildlink3.mk | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/mail/dovecot2/buildlink3.mk b/mail/dovecot2/buildlink3.mk index fc6ea764be0..6da8b879fd8 100644 --- a/mail/dovecot2/buildlink3.mk +++ b/mail/dovecot2/buildlink3.mk @@ -1,6 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/11/05 12:00:39 adam Exp $ - -.include "../../mk/bsd.fast.prefs.mk" +# $NetBSD: buildlink3.mk,v 1.2 2011/01/13 13:43:04 adam Exp $ BUILDLINK_TREE+= dovecot @@ -12,6 +10,11 @@ BUILDLINK_PKGSRCDIR.dovecot?= ../../mail/dovecot2 pkgbase:= dovecot .include "../../mk/pkg-build-options.mk" +.if !empty(PKG_BUILD_OPTIONS.dovecot:Mssl) +. include "../../security/openssl/buildlink3.mk" +.elif !empty(PKG_BUILD_OPTIONS.dovecot:Mgnutls) +. include "../../security/gnutls/buildlink3.mk" +.endif .include "../../archivers/bzip2/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .endif # DOVECOT_BUILDLINK3_MK |