Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Feb 2026 03:08:24 +0000
From:      Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f0e1b02314ff - main - x11/slim: Add support for xlibre
Message-ID:  <69855b28.413c1.62f699a1@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by acm:

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

commit f0e1b02314ff6982ae33467313c48b67b7aac0f4
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2026-02-06 03:04:10 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2026-02-06 03:04:10 +0000

    x11/slim: Add support for xlibre
    
    PR:             291597
    Approved by:    maintainer timeout (50+ days)
---
 x11/slim/Makefile | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/x11/slim/Makefile b/x11/slim/Makefile
index 0f0de2acc702..bb3e10d7ad06 100644
--- a/x11/slim/Makefile
+++ b/x11/slim/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	slim
 PORTVERSION=	1.3.6
-PORTREVISION=	26
+PORTREVISION=	27
 CATEGORIES=	x11
 MASTER_SITES=	ftp://ftp.berlios.de/pub/slim/ \
 		SF/slim.berlios
@@ -11,6 +11,9 @@ WWW=		https://sourceforge.net/projects/slim.berlios/
 
 LICENSE=	GPLv2
 
+FLAVORS=	xorg xlibre
+FLAVOR?=	${FLAVORS:[1]}
+
 LIB_DEPENDS=	libpng.so:graphics/png \
 		libfreetype.so:print/freetype2 \
 		libfontconfig.so:x11-fonts/fontconfig
@@ -18,8 +21,18 @@ RUN_DEPENDS=	dbus-daemon:devel/dbus
 
 USES=		cmake compiler:c++11-lang cpe jpeg pkgconfig xorg
 CPE_VENDOR=	berlios
-USE_XORG=	ice sm x11 xau xcb xdmcp xext xft xmu xorg-server xrandr \
-		xrender xt
+USE_XORG=	ice sm x11 xau xcb xdmcp xext xft xmu xrandr xrender xt
+
+.if ${FLAVOR} == xlibre
+PKGNAMEPREFIX=	xlibre-
+USES+=		xlibre
+USE_XLIBRE+=	xlibre-server
+CONFLICTS_BUILD+=	xorg-server
+.else
+USE_XORG+=	xorg-server
+CONFLICTS_BUILD+=	xlibre-server
+.endif
+
 USE_RC_SUBR=	slim
 USE_LDCONFIG=	yes
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69855b28.413c1.62f699a1>