Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 2021 16:19:21 GMT
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e998e59190b5 - main - graphics/sdl_ttf: minor cleanup
Message-ID:  <202104131619.13DGJLuR057714@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by amdmi3:

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

commit e998e59190b5d4ca965c1c78ee42a5f2a3a9c68d
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2021-04-13 15:40:45 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2021-04-13 16:18:07 +0000

    graphics/sdl_ttf: minor cleanup
    
    - Remove OPENGL option, GL is detected regardless of whether option
      is enabled which leads to hidden dependency
    - Remove needless flags
    - Add LICENSE_FILE
---
 graphics/sdl_ttf/Makefile | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/graphics/sdl_ttf/Makefile b/graphics/sdl_ttf/Makefile
index 58f3241071f8..214663c60f99 100644
--- a/graphics/sdl_ttf/Makefile
+++ b/graphics/sdl_ttf/Makefile
@@ -11,23 +11,17 @@ MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Library to use TrueType fonts to render text in SDL applications
 
 LICENSE=	ZLIB
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libfreetype.so:print/freetype2
 
-USES=		gmake iconv libtool pathfix pkgconfig sdl xorg
+USES=		gmake iconv gl libtool pathfix pkgconfig sdl xorg
 USE_SDL=	sdl
 USE_XORG=	x11
+USE_GL=		gl
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 USE_LDCONFIG=	yes
 
-OPTIONS_DEFINE=		OPENGL
-OPTIONS_DEFAULT=	OPENGL
-
-OPENGL_USES=	gl
-OPENGL_USE=	GL=glu
-
 post-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/.libs/glfont ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKSRC}/.libs/showfont \


home | help

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