svn commit: r498384 - head/cad/solvespace

Steve Wills swills at FreeBSD.org
Mon Apr 8 16:42:22 UTC 2019


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 at 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>


More information about the svn-ports-head mailing list