aboutsummaryrefslogtreecommitdiff
path: root/mail/libetpan
diff options
context:
space:
mode:
authorStefan Walter <stefan@FreeBSD.org>2007-10-01 20:37:42 +0000
committerStefan Walter <stefan@FreeBSD.org>2007-10-01 20:37:42 +0000
commit63b375a206ee37cc1044033d4e418cc9e45b0a29 (patch)
tree6aa993cb01bb0eb4a9a1ec0a98362cef0a8439d4 /mail/libetpan
parentf48066b3041399e9c3af88e5f690ab5d4231e980 (diff)
Notes
Diffstat (limited to 'mail/libetpan')
-rw-r--r--mail/libetpan/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/mail/libetpan/Makefile b/mail/libetpan/Makefile
index f51d3bd61b36..ae1db431cffe 100644
--- a/mail/libetpan/Makefile
+++ b/mail/libetpan/Makefile
@@ -8,6 +8,7 @@
PORTNAME= libetpan
PORTVERSION= 0.52
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,6 +16,10 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= c0rn@o2.pl
COMMENT= A mail library
+LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl \
+ expat:${PORTSDIR}/textproc/expat2 \
+ sasl2.2:${PORTSDIR}/security/cyrus-sasl2
+
USE_ICONV= yes
USE_AUTOTOOLS= libtool:15 autoconf:261
USE_LDCONFIG= yes
@@ -23,20 +28,16 @@ USE_GMAKE= yes
CFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CONFIGURE_ENV= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+
.if defined(WITH_GNUTLS)
LIB_DEPENDS+= gnutls.13:${PORTSDIR}/security/gnutls
-CONFIGURE_ARGS+= --with-gnutls
+CONFIGURE_ARGS+= --without-openssl --with-gnutls
.else
USE_OPENSSL= yes
CONFIGURE_ARGS+= --without-gnutls
.endif
-.if defined(WITH_SASL)
-LIB_DEPENDS+= sasl2.2:${PORTSDIR}/security/cyrus-sasl2
-.else
-CONFIGURE_ARGS+= --without-sasl
-.endif
-
post-install:
@${FIND} ${PREFIX}/include/libetpan* ! -type d | ${SED} \
's,^${PREFIX}/,,' >> ${TMPPLIST}