diff options
author | Xin LI <delphij@FreeBSD.org> | 2008-11-24 06:46:59 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2008-11-24 06:46:59 +0000 |
commit | dfe374f9bfdd4863ddb6fb2749d225b0f80b3281 (patch) | |
tree | 3ad50631acff396e985b499fe4d61f9d0fe102ae /mail/libvmime | |
parent | 17f97ec49b2c554502aa349bdb281303d35bde07 (diff) | |
download | ports-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/Makefile | 4 |
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 |