aboutsummaryrefslogtreecommitdiff
path: root/mail/libvmime
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2008-11-24 06:46:59 +0000
committerXin LI <delphij@FreeBSD.org>2008-11-24 06:46:59 +0000
commitdfe374f9bfdd4863ddb6fb2749d225b0f80b3281 (patch)
tree3ad50631acff396e985b499fe4d61f9d0fe102ae /mail/libvmime
parent17f97ec49b2c554502aa349bdb281303d35bde07 (diff)
downloadports-dfe374f9bfdd4863ddb6fb2749d225b0f80b3281.tar.gz
ports-dfe374f9bfdd4863ddb6fb2749d225b0f80b3281.zip
Derive CXXFLAG from CFLAG explicitly. Without this, user supplied CXXFLAG
could cause compile fail due to the lack of -I${LOCALDIR} Reported/tested by: Andrei V. Lavreniyuk <andy.lavr reactor-xg kiev.ua>
Notes
Notes: svn path=/head/; revision=223320
Diffstat (limited to 'mail/libvmime')
-rw-r--r--mail/libvmime/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/libvmime/Makefile b/mail/libvmime/Makefile
index 1bf45b9427b6..eaf1bed0afb4 100644
--- a/mail/libvmime/Makefile
+++ b/mail/libvmime/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libvmime
PORTVERSION= 0.9.0
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= SF
MASTER_SITE_SUBDIR= vmime
@@ -24,13 +25,14 @@ GNU_CONFIGURE= yes
USE_LDCONFIG= 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}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ENV+= EXTRA_CFLAGS="${CFLAGS}" EXTRA_CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
DOCSDIR= ${PREFIX}/share/doc/vmime