aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-01-12 12:50:32 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-01-12 12:50:32 +0000
commitfb2f5da861c19c888c65c583b6b803e197880cb7 (patch)
treeda4cb0f0937c629c10baa1be627fa28625707afe /mail
parent12049643e6019557263bc8f209937b5492988701 (diff)
- Update to 0.57
PR: 127327 Submitted by: "Pawel Pekala" <c0rn@o2.pl> (maintainer)
Notes
Notes: svn path=/head/; revision=225836
Diffstat (limited to 'mail')
-rw-r--r--mail/libetpan/Makefile24
-rw-r--r--mail/libetpan/distinfo6
2 files changed, 20 insertions, 10 deletions
diff --git a/mail/libetpan/Makefile b/mail/libetpan/Makefile
index 229135823893..66a6e822d2b3 100644
--- a/mail/libetpan/Makefile
+++ b/mail/libetpan/Makefile
@@ -7,10 +7,9 @@
#
PORTNAME= libetpan
-PORTVERSION= 0.55
-CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+PORTVERSION= 0.57
+CATEGORIES= mail ipv6
+MASTER_SITES= SF
MAINTAINER= c0rn@o2.pl
COMMENT= A mail library
@@ -24,10 +23,15 @@ USE_AUTOTOOLS= libtool:15 autoconf:262
USE_LDCONFIG= yes
USE_GMAKE= yes
-CFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
-CONFIGURE_ENV= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+
+OPTIONS= GNUTLS "Enable gnuTLS support" off \
+ IPV6 "Enable ipv6 support." on
+
+.include <bsd.port.pre.mk>
.if defined(WITH_GNUTLS)
LIB_DEPENDS+= gnutls.26:${PORTSDIR}/security/gnutls
@@ -37,7 +41,13 @@ USE_OPENSSL= yes
CONFIGURE_ARGS+= --without-gnutls
.endif
+.if defined(WITHOUT_IPV6)
+CONFIGURE_ARGS+= --disable-ipv6
+.else
+CONFIGURE_ARGS+= --enable-ipv6
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|2.61|2.62|g' ${WRKSRC}/aclocal.m4
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/mail/libetpan/distinfo b/mail/libetpan/distinfo
index b796982b4a7f..38dbbbf8c883 100644
--- a/mail/libetpan/distinfo
+++ b/mail/libetpan/distinfo
@@ -1,3 +1,3 @@
-MD5 (libetpan-0.55.tar.gz) = c89c06816afc0e74240800832fd78df2
-SHA256 (libetpan-0.55.tar.gz) = cfcf372af4701d28310d2181d4d38fb13aed5848de6c4c811373f072690c3627
-SIZE (libetpan-0.55.tar.gz) = 1676259
+MD5 (libetpan-0.57.tar.gz) = 8ce8c6c071e81884a475b12b7f9a9cc0
+SHA256 (libetpan-0.57.tar.gz) = 1f3fda5c9e2961d1a6298dc8aadae321493d37727d8db45bc2e8d58f20547011
+SIZE (libetpan-0.57.tar.gz) = 1676498