git: 5ee59df60fda - main - math/asymptote: Remove the OFFSCREEN option, because libosmesa is going away

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Mon, 15 Jun 2026 15:56:28 UTC
The branch main has been updated by arrowd:

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

commit 5ee59df60fda99a1861707fd94d28479990c36c1
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-05-15 19:34:43 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-06-15 15:54:36 +0000

    math/asymptote: Remove the OFFSCREEN option, because libosmesa is going away
    
    PR:             295314
    Approved by:    nivit (maintainer)
---
 math/asymptote/Makefile | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/math/asymptote/Makefile b/math/asymptote/Makefile
index 5ff530952e36..334a3940cfdd 100644
--- a/math/asymptote/Makefile
+++ b/math/asymptote/Makefile
@@ -33,7 +33,8 @@ USE_PYQT=	pyqt5:run
 CPPFLAGS+=	-I${LOCALBASE}/include
 GNU_CONFIGURE=	yes
 GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
-CONFIGURE_ARGS=	--disable-lsp # disable the module with Boost-related errors
+CONFIGURE_ARGS=	--disable-offscreen \
+		--disable-lsp # disable the module with Boost-related errors
 
 MAKE_ENV=	ASYMPTOTE_HOME=${WRKDIR} HOME=${WRKDIR}
 MAKE_JOBS_UNSAFE=	yes # see https://github.com/vectorgraphics/asymptote/issues/331
@@ -45,7 +46,7 @@ SUB_FILES=	pkg-message
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 OPTIONS_DEFAULT=	FFTW GSL MANPAGES READLINE
-OPTIONS_DEFINE=		BDWGC DOCS EXAMPLES FFTW GSL MANPAGES OFFSCREEN READLINE
+OPTIONS_DEFINE=		BDWGC DOCS EXAMPLES FFTW GSL MANPAGES READLINE
 
 BDWGC_LIB_DEPENDS=	libgc-threaded.so:devel/boehm-gc-threaded
 BDWGC_DESC=		Enable Boehm-Demers-Weiser garbage collector
@@ -68,10 +69,6 @@ MANPAGES_ALL_TARGET=	man
 MANPAGES_BUILD_DEPENDS=	texi2dvi:print/texinfo
 MANPAGES_INFO=	asy-faq
 
-OFFSCREEN_CONFIGURE_ENABLE=	offscreen
-OFFSCREEN_DESC=	Enable offscreen rendering using OSMesa library
-OFFSCREEN_LIB_DEPENDS=	libOSMesa.so:graphics/libosmesa
-
 READLINE_CONFIGURE_ENABLE=	readline
 READLINE_USES=	readline