svn commit: r428862 - head/graphics/GraphicsMagick

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Dec 18 15:21:54 UTC 2016


Author: sunpoet
Date: Sun Dec 18 15:21:53 2016
New Revision: 428862
URL: https://svnweb.freebsd.org/changeset/ports/428862

Log:
  - Build C++ sources with GCC when OPENMP is enabled
  - Bump PORTREVISION for package change
  
  PR:		215355
  Submitted by:	jbeich

Modified:
  head/graphics/GraphicsMagick/Makefile

Modified: head/graphics/GraphicsMagick/Makefile
==============================================================================
--- head/graphics/GraphicsMagick/Makefile	Sun Dec 18 15:21:48 2016	(r428861)
+++ head/graphics/GraphicsMagick/Makefile	Sun Dec 18 15:21:53 2016	(r428862)
@@ -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++


More information about the svn-ports-head mailing list