diff options
author | jkim <jkim@FreeBSD.org> | 2012-07-11 09:17:35 +0800 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2012-07-11 09:17:35 +0800 |
commit | 8722fc38bab760c5e2216a55bde0cfd3f1d28132 (patch) | |
tree | 385bf84470f43727634ca26b7b4fc4100edb07c6 /editors | |
parent | fe2e47937e87751832f4fc8456ab82771e22d94d (diff) | |
download | freebsd-ports-gnome-8722fc38bab760c5e2216a55bde0cfd3f1d28132.tar.gz freebsd-ports-gnome-8722fc38bab760c5e2216a55bde0cfd3f1d28132.tar.zst freebsd-ports-gnome-8722fc38bab760c5e2216a55bde0cfd3f1d28132.zip |
- Construct CPP and CXXCPP from the existing variables.
- Pass CXXCPP as an environment variable for the configure script as it is
only useful there at the moment. Actually, ports infrastructure ignores it.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/libreoffice/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile index 57346e3e3d57..e40c0601adae 100644 --- a/editors/libreoffice/Makefile +++ b/editors/libreoffice/Makefile @@ -213,17 +213,18 @@ MANCOMPRESSED= yes # XXX Clang PR13308 (http://llvm.org/bugs/show_bug.cgi?id=13308) # Fixed in r159895 (http://llvm.org/viewvc/llvm-project?view=rev&revision=159895) CC= /usr/bin/clang -CXX= /usr/bin/clang++ -CXXCPP= /usr/bin/clang-cpp -x c++ CPP= /usr/bin/clang-cpp +CXX= /usr/bin/clang++ +CXXCPP= ${CPP} -x c++ .else BUILD_DEPENDS+= ${LOCALBASE}/bin/clang:${PORTSDIR}/lang/clang USE_BINUTILS= yes CC= ${LOCALBASE}/bin/clang +CPP= ${CC} -E CXX= ${LOCALBASE}/bin/clang++ -CXXCPP= ${LOCALBASE}/bin/clang++ -E -CPP= ${LOCALBASE}/bin/clang -E +CXXCPP= ${CXX} -E .endif +CONFIGURE_ENV+= CXXCPP="${CXXCPP}" CONFIGURE_ARGS+= --with-system-cppunit BUILD_DEPENDS+= ${LOCALBASE}/lib/libcppunit.so:${PORTSDIR}/devel/cppunit #.endif |