summaryrefslogtreecommitdiff
path: root/mail/fetchmail
diff options
context:
space:
mode:
authorkim <kim>2000-05-21 19:19:33 +0000
committerkim <kim>2000-05-21 19:19:33 +0000
commitacc85a0907a343339bc98efd8ddd1fc89c4aae2b (patch)
tree0aa8fea95a7978d2d40747b9d0b759ea260e38ee /mail/fetchmail
parent5cf273d2b536089b1b2093ee3b21077e71a58652 (diff)
downloadpkgsrc-acc85a0907a343339bc98efd8ddd1fc89c4aae2b.tar.gz
Fetchmail did not compile on i386 1.4Y with crypto-us. Made SSL optional.
Diffstat (limited to 'mail/fetchmail')
-rw-r--r--mail/fetchmail/Makefile17
1 files changed, 14 insertions, 3 deletions
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile
index 64436f3f927..027bf81d68d 100644
--- a/mail/fetchmail/Makefile
+++ b/mail/fetchmail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.71 2000/05/02 08:15:01 tron Exp $
+# $NetBSD: Makefile,v 1.72 2000/05/21 19:19:34 kim Exp $
#
DISTNAME= fetchmail-5.3.8
@@ -13,8 +13,7 @@ HOMEPAGE= http://www.tuxedo.org/~esr/fetchmail/
BUILD_DEPENDS+= ${LOCALBASE}/bin/autoconf:../../devel/autoconf
GNU_CONFIGURE= yes
-USE_SSL= yes
-CONFIGURE_ARGS+=--without-hesiod --with-ssl=${SSLBASE}
+CONFIGURE_ARGS+=--without-hesiod
CONFIGURE_ENV+= LDFLAGS="${CFLAGS}"
BUILD_DEFS+= USE_INET6
@@ -22,6 +21,18 @@ RESTRICTED= "Crypto; export-controlled"
.include "../../mk/bsd.prefs.mk"
+FETCHMAIL_USE_SSL?=YES
+
+.if defined(FETCHMAIL_USE_SSL) && ${FETCHMAIL_USE_SSL} == YES
+USE_SSL= yes
+CONFIGURE_ARGS+=--with-ssl=${SSLBASE}
+.else
+CONFIGURE_ARGS+=--without-ssl
+.else
+.endif
+
+BUILD_DEFS+= FETCHMAIL_USE_SSL
+
.if defined(KERBEROS) && ${KERBEROS} == 4
USE_KERBEROS= yes
CONFIGURE_ARGS+=--with-kerberos=yes