svn commit: r568755 - head/graphics/freetype-gl

Yuri Victorovich yuri at FreeBSD.org
Thu Mar 18 18:56:48 UTC 2021


Author: yuri
Date: Thu Mar 18 18:56:47 2021
New Revision: 568755
URL: https://svnweb.freebsd.org/changeset/ports/568755

Log:
  graphics/freetype-gl: Add missing link flags for GLEW and freetype libraries

Modified:
  head/graphics/freetype-gl/Makefile

Modified: head/graphics/freetype-gl/Makefile
==============================================================================
--- head/graphics/freetype-gl/Makefile	Thu Mar 18 18:10:20 2021	(r568754)
+++ head/graphics/freetype-gl/Makefile	Thu Mar 18 18:56:47 2021	(r568755)
@@ -2,6 +2,7 @@
 
 PORTNAME=	freetype-gl
 DISTVERSION=	g20210208
+PORTREVISION=	1
 CATEGORIES=	graphics
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
@@ -26,9 +27,9 @@ GH_ACCOUNT=	rougier
 GH_TAGNAME=	647b062
 
 CMAKE_ON=	BUILD_SHARED_LIBS
-CMAKE_OFF=	freetype-gl_BUILD_DEMOS freetype-gl_BUILD_APIDOC freetype-gl_BUILD_TESTS # DEMOS depend on graphics/anttweakbar
+CMAKE_OFF=	freetype-gl_BUILD_DEMOS freetype-gl_BUILD_APIDOC freetype-gl_BUILD_TESTS # DEMOS depend on graphics/anttweakbar, glfw3
 
-# DEMOS depend on glfw3
+LDFLAGS+=	-L${LOCALBASE}/lib -lGLEW -lfreetype # https://github.com/rougier/freetype-gl/issues/236
 
 do-test: # build breaks: https://github.com/rougier/freetype-gl/issues/234
 	@cd ${BUILD_WRKSRC} && \


More information about the svn-ports-head mailing list