freebsd-ports/mail/libvmime/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

46 lines
998 B
Makefile

# New ports collection makefile for: libvmime
# Date created: September 17, 2005
# Whom: delphij@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= libvmime
PORTVERSION= 0.9.1
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= SF/vmime/vmime/0.9
MAINTAINER= delphij@FreeBSD.org
COMMENT= An all-in-one Internet mail library
LIB_DEPENDS+= gnutls.47:${PORTSDIR}/security/gnutls
LIB_DEPENDS+= gsasl.15:${PORTSDIR}/security/gsasl
USE_BZIP2= yes
USE_GMAKE= yes
USE_ICONV= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
CFLAGS+= -I${LOCALBASE}/include -D_GLIBCXX__PTHREADS
CXXFLAGS+= ${CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib
.ifndef DEBUG
CONFIGURE_ARGS+=--disable-debug
.endif
CONFIGURE_ENV+= EXTRA_CFLAGS="${CFLAGS}" EXTRA_CXXFLAGS="${CXXFLAGS}" \
LIBGNUTLS_CONFIG="${LOCALBASE}/bin/pkg-config" libgnutls_config_args="gnutls"
DOCSDIR= ${PREFIX}/share/doc/vmime
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= Does not compile on sparc64
.endif
.include <bsd.port.post.mk>