aboutsummaryrefslogtreecommitdiff
path: root/mail/libvmime/Makefile
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-11-18 13:26:20 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-11-18 13:26:20 +0000
commit45d1f9d24f675689933e4310e657f2c4e6e608d3 (patch)
treedbc6a8160e9032fb32c1da7dd54879eb3ad2c330 /mail/libvmime/Makefile
parent09e5e58bd25abbad3b06dfea7f5849c745885a6b (diff)
Notes
Diffstat (limited to 'mail/libvmime/Makefile')
-rw-r--r--mail/libvmime/Makefile18
1 files changed, 16 insertions, 2 deletions
diff --git a/mail/libvmime/Makefile b/mail/libvmime/Makefile
index aafd1cef3aaa..7e82d3299cfc 100644
--- a/mail/libvmime/Makefile
+++ b/mail/libvmime/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libvmime
-PORTVERSION= 0.7.1
+PORTVERSION= 0.8.0
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= vmime
@@ -14,6 +14,10 @@ MASTER_SITE_SUBDIR= vmime
MAINTAINER= delphij@FreeBSD.org
COMMENT= An all-in-one Internet mail library
+# XXX Need a newer gnutls version before enabling this
+#LIB_DEPENDS+= gnutls.12:${PORTSDIR}/security/gnutls
+LIB_DEPENDS+= gsasl.9:${PORTSDIR}/security/gsasl
+
GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_GMAKE= yes
@@ -22,7 +26,17 @@ USE_GCC= 3.3+
USE_AUTOTOOLS= libtool:15
INSTALLS_SHLIB= yes
-CONFIGURE_ARGS= --disable-debug
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
+.ifndef DEBUG
+CONFIGURE_ARGS+=--disable-debug
+.endif
+
+# XXX Need a newer gnutls version
+CONFIGURE_ARGS+=--disable-tls
+
+CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
DOCSDIR= ${PREFIX}/share/doc/vmime