Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2018 16:29:10 +0000 (UTC)
From:      Michael Reifenberger <mr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r468281 - in head/cad/openscad-devel: . files
Message-ID:  <201804251629.w3PGTA54028076@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mr
Date: Wed Apr 25 16:29:09 2018
New Revision: 468281
URL: https://svnweb.freebsd.org/changeset/ports/468281

Log:
  Enable experimental features.
  Make portlint happy.
  Mark Broken for FreeBSD 10 due to compile/link error.

Modified:
  head/cad/openscad-devel/Makefile
  head/cad/openscad-devel/files/patch-openscad.pro
  head/cad/openscad-devel/files/patch-src-ModuleCache.h

Modified: head/cad/openscad-devel/Makefile
==============================================================================
--- head/cad/openscad-devel/Makefile	Wed Apr 25 15:13:48 2018	(r468280)
+++ head/cad/openscad-devel/Makefile	Wed Apr 25 16:29:09 2018	(r468281)
@@ -3,7 +3,7 @@
 
 PORTNAME=	openscad
 PORTVERSION=	2018.04.19
-#PORTREVISION=	1
+PORTREVISION=	1
 CATEGORIES=	cad
 PKGNAMESUFFIX=  -devel
 DIST_SUBDIR=            ${PORTNAME}
@@ -14,6 +14,8 @@ COMMENT=	Programmer's solid 3D CAD modeller
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+BROKEN_FreeBSD_10=      Missing __cxa_thread_atexit
+
 BUILD_DEPENDS=	${LOCALBASE}/bin/flex:textproc/flex \
 		${LOCALBASE}/include/boost/tuple/tuple.hpp:devel/boost-libs
 LIB_DEPENDS=	libgmp.so:math/gmp \
@@ -26,30 +28,25 @@ LIB_DEPENDS=	libgmp.so:math/gmp \
 
 CONFLICTS=	openscad
 
+USES=		bison compiler:c++11-lang desktop-file-utils eigen:3 gettext-tools \
+		pkgconfig python:run qmake shebangfix
 USE_GITHUB=     yes
 GH_ACCOUNT=     openscad
 GH_PROJECT=     openscad
 GH_TAGNAME=	179074dff8c23cbc0e651ce8463737df0006f4ca
 
-USES=		bison compiler:c++11-lang desktop-file-utils eigen:3 gettext-tools \
-		pkgconfig python:run qmake shebangfix
 #SHEBANG_FILES=	libraries/MCAD/get_submodules.py
 USE_GL=		glu glew
 USE_QT4=	corelib gui opengl moc_build uic_build rcc_build
 PLIST_SUB=	PORTVERSION=${PORTVERSION}
 QMAKE_ENV=	EIGENDIR=${LOCALBASE}/include/eigen3
 QMAKE_ARGS+=	VERSION=${PORTVERSION} \
+		EXPERIMENTAL=yes \
 		QMAKE_LEX=${LOCALBASE}/bin/flex \
 		QMAKE_YAC=${LOCALBASE}/bin/bison
 
 post-patch:
 	@${REINPLACE_CMD} -e 's,share/man,man,' \
 		${WRKSRC}/openscad.pro
-
-#.include <bsd.port.options.mk>
-#
-#.if ${ARCH} == i386 && ${OSVERSION} >= 1100000
-#USE_GCC=        yes
-#.endif
 
 .include <bsd.port.mk>

Modified: head/cad/openscad-devel/files/patch-openscad.pro
==============================================================================
--- head/cad/openscad-devel/files/patch-openscad.pro	Wed Apr 25 15:13:48 2018	(r468280)
+++ head/cad/openscad-devel/files/patch-openscad.pro	Wed Apr 25 16:29:09 2018	(r468281)
@@ -1,6 +1,12 @@
---- openscad.pro.orig	2018-04-22 17:21:31.278695000 +0000
-+++ openscad.pro	2018-04-22 17:21:39.335408000 +0000
-@@ -106,4 +106,8 @@
+--- openscad.pro.orig	2018-04-19 22:08:08 UTC
++++ openscad.pro
+@@ -1,3 +1,4 @@
++CONFIG+=experimental
+ # Environment variables which can be set to specify library locations:
+ # MPIRDIR
+ # MPFRDIR
+@@ -105,6 +106,10 @@ mingw* {
+ CONFIG += qt
  QT += widgets concurrent
  
 +freebsd* {
@@ -9,3 +15,4 @@
 +
  netbsd* {
     QMAKE_LFLAGS += -L/usr/X11R7/lib
+    QMAKE_LFLAGS += -Wl,-R/usr/X11R7/lib

Modified: head/cad/openscad-devel/files/patch-src-ModuleCache.h
==============================================================================
--- head/cad/openscad-devel/files/patch-src-ModuleCache.h	Wed Apr 25 15:13:48 2018	(r468280)
+++ head/cad/openscad-devel/files/patch-src-ModuleCache.h	Wed Apr 25 16:29:09 2018	(r468281)
@@ -1,8 +1,10 @@
---- src/ModuleCache.h.orig	2018-04-22 17:10:59.553926000 +0000
-+++ src/ModuleCache.h	2018-04-22 17:11:26.751065000 +0000
-@@ -2,4 +2,5 @@
+--- src/ModuleCache.h.orig	2018-04-19 22:08:08 UTC
++++ src/ModuleCache.h
+@@ -1,6 +1,7 @@
+ #pragma once
  
  #include <string>
 +#include <time.h>
  #include <unordered_map>
  
+ /*!



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