Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2024 11:56:04 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e72ba6453422 - main - graphics/rubygem-ruby-vips: Add x11 and nox11 flavors
Message-ID:  <202408151156.47FBu4T7060120@gitrepo.freebsd.org>

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

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

commit e72ba6453422807521418bc76e5b352f42e5dbfa
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-08-15 09:46:16 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-08-15 11:47:38 +0000

    graphics/rubygem-ruby-vips: Add x11 and nox11 flavors
---
 graphics/rubygem-ruby-vips/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/graphics/rubygem-ruby-vips/Makefile b/graphics/rubygem-ruby-vips/Makefile
index d7827c4bb4f2..5227b23e9c7f 100644
--- a/graphics/rubygem-ruby-vips/Makefile
+++ b/graphics/rubygem-ruby-vips/Makefile
@@ -10,7 +10,7 @@ WWW=		https://github.com/libvips/ruby-vips
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-LIB_DEPENDS=	libvips.so:graphics/vips
+LIB_DEPENDS=	libvips.so:graphics/vips@${FLAVOR}
 RUN_DEPENDS=	rubygem-ffi>=1.12<2:devel/rubygem-ffi \
 		rubygem-logger>=0:devel/rubygem-logger
 
@@ -19,6 +19,10 @@ USE_GNOME=	glib20
 
 NO_ARCH=	yes
 
+FLAVORS=	x11 nox11
+FLAVOR?=	${FLAVORS:[1]}
+nox11_PKGNAMESUFFIX=	-nox11
+
 SHEBANG_FILES=	example/*.rb
 
 .include <bsd.port.mk>



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