diff options
author | delphij <delphij@FreeBSD.org> | 2008-11-24 14:46:59 +0800 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2008-11-24 14:46:59 +0800 |
commit | 2ab82668bc87a26b6631db898634a68026cfb31f (patch) | |
tree | 0cf3f60ce234692b0f27690c99f148bcb6317511 /mail | |
parent | 407ae2047c2769dfb825dde5272b5b0a90efd25e (diff) | |
download | freebsd-ports-gnome-2ab82668bc87a26b6631db898634a68026cfb31f.tar.gz freebsd-ports-gnome-2ab82668bc87a26b6631db898634a68026cfb31f.tar.zst freebsd-ports-gnome-2ab82668bc87a26b6631db898634a68026cfb31f.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>
Diffstat (limited to 'mail')
-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 |