diff options
author | kim <kim@pkgsrc.org> | 2000-05-21 19:19:33 +0000 |
---|---|---|
committer | kim <kim@pkgsrc.org> | 2000-05-21 19:19:33 +0000 |
commit | 8aa326d0b29475054073344bdbf56a414b3c6080 (patch) | |
tree | 0aa8fea95a7978d2d40747b9d0b759ea260e38ee /mail/fetchmail/Makefile | |
parent | 40d7c11f77f39ba67c1b4506b5b035f05c253e4e (diff) | |
download | pkgsrc-8aa326d0b29475054073344bdbf56a414b3c6080.tar.gz |
Fetchmail did not compile on i386 1.4Y with crypto-us. Made SSL optional.
Diffstat (limited to 'mail/fetchmail/Makefile')
-rw-r--r-- | mail/fetchmail/Makefile | 17 |
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 |