summaryrefslogtreecommitdiff
path: root/mail/imap-uw/Makefile
diff options
context:
space:
mode:
authorfredb <fredb@pkgsrc.org>2003-04-10 14:56:21 +0000
committerfredb <fredb@pkgsrc.org>2003-04-10 14:56:21 +0000
commit0fbd58035babc5e73475793bd24e7238673c58ce (patch)
treecb74d46d9a26f4e80e6be4a271dda2f5a0267cc9 /mail/imap-uw/Makefile
parentddd178244f8da87b149678f7145a12dff3095464 (diff)
downloadpkgsrc-0fbd58035babc5e73475793bd24e7238673c58ce.tar.gz
Add "-ldes" for ${USE_KERBEROS}==YES case, on NetBSD-1.5* only. This
should close PR pkg/19430 and PR pkg/20491.
Diffstat (limited to 'mail/imap-uw/Makefile')
-rw-r--r--mail/imap-uw/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile
index 84450024cdc..942af1ab943 100644
--- a/mail/imap-uw/Makefile
+++ b/mail/imap-uw/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2003/03/31 16:18:04 bouyer Exp $
+# $NetBSD: Makefile,v 1.56 2003/04/10 14:56:21 fredb Exp $
DISTNAME= imap-2002b
PKGNAME= imap-uw-2002.2
@@ -29,10 +29,14 @@ ALL_TARGET= lrh
ALL_TARGET= osx
.else
ALL_TARGET= neb
-.if defined(USE_KERBEROS) && (${USE_KERBEROS} != "no")
+. if defined(USE_KERBEROS) && (${USE_KERBEROS} != "no")
PKG_USE_KERBEROS= #defined
ALL_TARGET+= EXTRAAUTHENTICATORS="gss"
-.endif
+. if !empty(MACHINE_PLATFORM:MNetBSD-1.5*)
+# NetBSD-1.5 didn't have "des_new_random_key" in libcrypto
+MAKE_ENV+= GSS_EXTRA_LDFLAGS= -ldes
+. endif
+. endif
.endif
BUILD_DEFS+= IMAP_UW_CCLIENT_MBOX_FMT IMAP_UW_NO_CLEARTEXT