summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-12-18 15:21:53 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-12-18 15:21:53 +0000
commit2eb30dc50fb548b5afcbb5a1111d232de397e58d (patch)
treeeda614ccf88e8676d0397f571cf80da578a5a69a /graphics
parent- Add USES=localbase:ldflags (diff)
- Build C++ sources with GCC when OPENMP is enabled
- Bump PORTREVISION for package change PR: 215355 Submitted by: jbeich
Notes
Notes: svn path=/head/; revision=428862
Diffstat (limited to 'graphics')
-rw-r--r--graphics/GraphicsMagick/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/graphics/GraphicsMagick/Makefile b/graphics/GraphicsMagick/Makefile
index 186654abdf29..f31384b01d04 100644
--- a/graphics/GraphicsMagick/Makefile
+++ b/graphics/GraphicsMagick/Makefile
@@ -3,6 +3,7 @@
PORTNAME= GraphicsMagick
PORTVERSION= 1.3.25
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= graphics
MASTER_SITES= SF \
@@ -50,7 +51,7 @@ LCMS2_CONFIGURE= lcms2
LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2
OPENMP_CONFIGURE_OFF= --disable-openmp --without-threads
OPENMP_CONFIGURE_ON= --disable-openmp-slow --enable-openmp --with-threads
-OPENMP_USES= compiler:openmp
+OPENMP_USES= compiler:gcc-c++11-lib
PNG_CONFIGURE_WITH= png
PNG_LIB_DEPENDS= libpng.so:graphics/png
Q8BIT_CONFIGURE_OFF= --with-quantum-depth=16
@@ -98,7 +99,3 @@ post-install-Q8BIT-on:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/GraphicsMagick/modules-Q8/coders ${STAGEDIR}${PREFIX}/lib/GraphicsMagick/modules-Q8/filters
.include <bsd.port.mk>
-
-# The OPENMP option may select gcc as compiler but on architectures
-# that have switched to libc++ clang should be used for C++ code.
-CXX= c++