Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jul 2021 18:06:38 GMT
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 95bdad8226f7 - main - graphics/swftools: new option OPENGL
Message-ID:  <202107041806.164I6cAd017619@gitrepo.freebsd.org>

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

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

commit 95bdad8226f71d5a74c9d217d9ff65a622b0685a
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2021-07-04 18:06:17 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2021-07-04 18:06:17 +0000

    graphics/swftools: new option OPENGL
    
    PR:             256716
    Submitted by:   Palle Girgensohn
---
 graphics/swftools/Makefile | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/graphics/swftools/Makefile b/graphics/swftools/Makefile
index 7d92d319aabf..38bc1e2201ad 100644
--- a/graphics/swftools/Makefile
+++ b/graphics/swftools/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	swftools
 PORTVERSION=	0.9.2
-PORTREVISION=	10
+PORTREVISION=	11
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.swftools.org/ \
 		http://www.c-s.li/ports/
@@ -18,8 +18,7 @@ LIB_DEPENDS=	libt1.so:devel/t1lib \
 		libfreetype.so:print/freetype2 \
 		libfontconfig.so:x11-fonts/fontconfig
 
-USES=		gmake pkgconfig jpeg gl
-USE_GL=		glut
+USES=		gmake pkgconfig jpeg
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	ac_cv_lib_zzip_zzip_file_open=no
 
@@ -35,10 +34,13 @@ BINFILES=	as3compile font2swf gif2swf jpeg2swf pdf2swf png2swf \
 		swfbbox swfc swfcombine swfdump swfextract swfrender \
 		swfstrings wav2swf
 
-OPTIONS_DEFINE=	LAME PDF
+OPTIONS_DEFINE=	LAME PDF OPENGL
+OPTIONS_DEFAULT=OPENGL
 OPTIONS_SUB=	yes
 LAME_LIB_DEPENDS=	libmp3lame.so:audio/lame
 PDF_LIB_DEPENDS=	libpdf.so:print/pdflib
+OPENGL_USES=	gl
+OPENGL_USE=	GL=glut
 
 .include <bsd.port.options.mk>
 



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