Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2023 22:16:29 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7d78503f8b58 - main - math/mathgl: Fix build with llvm16
Message-ID:  <202307232216.36NMGTwL041191@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7d78503f8b58ad11250def2d792db93ce8243e97

commit 7d78503f8b58ad11250def2d792db93ce8243e97
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-23 21:39:04 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-23 22:16:16 +0000

    math/mathgl: Fix build with llvm16
    
    - Pet portclippy
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 math/mathgl/Makefile | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/math/mathgl/Makefile b/math/mathgl/Makefile
index 492a9f7e6ef1..7f12a432d6fb 100644
--- a/math/mathgl/Makefile
+++ b/math/mathgl/Makefile
@@ -22,10 +22,10 @@ LIB_DEPENDS=	libgif.so:graphics/giflib \
 		libsz.so:science/libaec
 
 USES=		cmake compiler:c++11-lang dos2unix gettext-runtime gl jpeg xorg
+DOS2UNIX_GLOB=	*.cpp *.h
 USE_GL=		gl glu glut
-USE_XORG=	xi xmu
 USE_LDCONFIG=	yes
-DOS2UNIX_GLOB=	*.cpp *.h
+USE_XORG=	xi xmu
 
 .for v in double gif glut gsl hdf5 jpeg ltdl mgl2 opengl pdf png zlib
 CMAKE_ARGS+=	-Denable-${v}=ON
@@ -35,18 +35,22 @@ CMAKE_ARGS+=	-Denable-${v}=ON
 CMAKE_ARGS+=	-Denable-${v}=OFF
 .endfor
 
+CXXFLAGS+=	--std=c++14
+
+PLIST_SUB=		SHLIB_VER=7.6.0
+
 OPTIONS_DEFINE=		PYTHON MPI
+OPTIONS_DEFAULT=	QT5
 OPTIONS_GROUP=		GRAPHICS
 OPTIONS_GROUP_GRAPHICS=	QT5 FLTK WXGTK
 OPTIONS_RADIO=		THREADS
 OPTIONS_RADIO_THREADS=	PTHREADS OPENMP
-OPTIONS_DEFAULT=	QT5
 OPTIONS_SUB=		yes
+
+FLTK_DESC=		Enable fltk widget
 GRAPHICS_DESC=		Graphics support
-PTHREADS_DESC=		Enable POSIX threads support (broken, fix pending release)
 OPENMP_DESC=		Parallel processing support via OpenMP (broken, cmake bug)
-FLTK_DESC=		Enable fltk widget
-PLIST_SUB=		SHLIB_VER=7.6.0
+PTHREADS_DESC=		Enable POSIX threads support (broken, fix pending release)
 
 PYTHON_CMAKE_BOOL=	enable-python
 PYTHON_BUILD_DEPENDS=	swig:devel/swig \



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