Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Apr 2019 16:42:21 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r498384 - head/cad/solvespace
Message-ID:  <201904081642.x38GgLH5099403@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Mon Apr  8 16:42:21 2019
New Revision: 498384
URL: https://svnweb.freebsd.org/changeset/ports/498384

Log:
  cad/solvespace: fix build with GCC-based architectures
  
  PR:		237116
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>

Modified:
  head/cad/solvespace/Makefile   (contents, props changed)

Modified: head/cad/solvespace/Makefile
==============================================================================
--- head/cad/solvespace/Makefile	Mon Apr  8 16:30:39 2019	(r498383)
+++ head/cad/solvespace/Makefile	Mon Apr  8 16:42:21 2019	(r498384)
@@ -18,18 +18,19 @@ LIB_DEPENDS=	libpng.so:graphics/png \
 		libfreetype.so:print/freetype2 \
 		libgtkmm-2.4.so:x11-toolkits/gtkmm24
 
-BROKEN_powerpc64=	fails to compile: cc1plus: unrecognized command line option "-std=c++11"
-
 USE_GITHUB=	yes
 GH_PROJECT=	libdxfrw:libdxfrw
 GH_TAGNAME=	8f95895:libdxfrw
 GH_SUBDIR=	extlib/libdxfrw:libdxfrw
 
-USES=		cmake pkgconfig
+USES=		cmake compiler:c++11-lang gl gnome pkgconfig
 USE_GL=		gl glu glew
 USE_GNOME=	atkmm gtk20 pangomm
 USE_XORG=	x11
 USE_LDCONFIG=	yes
 INSTALLS_ICONS=	yes
+
+post-patch:
+	${REINPLACE_CMD} -e '/-stdlib=libc++/d' ${WRKSRC}/CMakeLists.txt
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904081642.x38GgLH5099403>