Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 May 2025 22:01:23 GMT
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b49bc33186a6 - main - math/cantor: improve port
Message-ID:  <202505052201.545M1N4r024896@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by makc:

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

commit b49bc33186a66d05fe776c454255ccfcf5254c24
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2025-05-05 22:00:04 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2025-05-05 22:00:26 +0000

    math/cantor: improve port
    
    - Belatedly remove SAGE option after math/sage removal.
    - Do not hardcode luajit version.
    - Remove needless cmake args.
---
 math/cantor/Makefile | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/math/cantor/Makefile b/math/cantor/Makefile
index d16a94eb825b..dc5cb5d37aaf 100644
--- a/math/cantor/Makefile
+++ b/math/cantor/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	cantor
 DISTVERSION=	${KDE_APPLICATIONS_VERSION}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	math kde kde-applications
 
 MAINTAINER=	kde@FreeBSD.org
@@ -29,11 +29,11 @@ USE_QT=		base svg webchannel webengine \
 USE_XORG=	x11
 USE_LDCONFIG=	yes
 
-OPTIONS_DEFINE=	LUAJIT MAXIMA OCTAVE R SAGE SCILAB DOCS
+OPTIONS_DEFINE=	LUAJIT MAXIMA OCTAVE R SCILAB DOCS
 OPTIONS_SUB=	yes # R LUAJIT
 
 LUAJIT_DESC=	Build LuaJIT backend and install LuaJIT
-LUAJIT_LIB_DEPENDS=	libluajit-5.1.so:lang/luajit
+LUAJIT_USES=	luajit
 LUAJIT_CMAKE_OFF=	-DWITH_LuaJIT:BOOL=FALSE
 
 MAXIMA_DESC=	Install Maxima
@@ -42,22 +42,16 @@ MAXIMA_RUN_DEPENDS=	maxima:math/maxima
 OCTAVE_DESC=	Install Octave
 OCTAVE_RUN_DEPENDS=	octave:math/octave
 
-R_DESC=		Build R backend and install R
+R_DESC=		Build R backend and install R (broken)
 R_LIB_DEPENDS=	libR.so:math/R
 # Required to set CFLAGS for -lgfortran.
 R_USES=		fortran
 R_CMAKE_OFF=	-DWITH_R:BOOL=FALSE
 R_BROKEN=	R backend fails with: /usr/include/c++/v1/__locale:1130:9: error: expected ';' at end of declaration list
 
-SAGE_DESC=	Install Sage
-SAGE_RUN_DEPENDS=	sage:math/sage
-
 SCILAB_DESC=	Install Scilab
 SCILAB_RUN_DEPENDS=	scilab:math/scilab
 
-# Disable python2 binding
-CMAKE_ON=	CMAKE_DISABLE_FIND_PACKAGE_PythonLibs
-
 post-patch:
 	${REINPLACE_CMD} -e '/FIND_PROGRAM(_GFORTRAN_EXECUTABLE/s,gfortran,${FC},' \
 		${WRKSRC}/cmake/FindR.cmake


home | help

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