Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Aug 2021 11:10:39 GMT
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 87a690f021d2 - main - x11-toolkits/fox17: prepare for freetype2 update
Message-ID:  <202108071110.177BAdof005656@gitrepo.freebsd.org>

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

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

commit 87a690f021d23b3ea2a76e537d1733b49bdff3b1
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2021-08-07 10:30:56 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2021-08-07 11:10:19 +0000

    x11-toolkits/fox17: prepare for freetype2 update
    
    - freetype2 will no longer ship freetype-config (which was a pkg-config
    wrapper) in the near future -- use pkg-config to gather the required
    flags.
    
    PR:             251512
---
 x11-toolkits/fox17/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/x11-toolkits/fox17/Makefile b/x11-toolkits/fox17/Makefile
index 3c3690f5789b..0824671fcf46 100644
--- a/x11-toolkits/fox17/Makefile
+++ b/x11-toolkits/fox17/Makefile
@@ -20,14 +20,14 @@ LIB_DEPENDS=	libpng.so:graphics/png \
 		libfreetype.so:print/freetype2 \
 		libfontconfig.so:x11-fonts/fontconfig
 
-USES=		compiler:c++11-lib gl libtool localbase pathfix xorg
+USES=		compiler:c++11-lib gl libtool localbase pathfix pkgconfig xorg
 USE_GL=		gl glu
 USE_XORG=	ice sm x11 xcursor xext xfixes xft xi xrandr xrender
 USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-freetype-include="`freetype-config --cflags | sed -e 's|^-I||'`" \
-		--with-freetype-library="`freetype-config --libs | sed -e 's|^-L||'`" \
+CONFIGURE_ARGS=	--with-freetype-include="`pkg-config freetype2 --cflags | sed -e 's|^-I||'`" \
+		--with-freetype-library="`pkg-config freetype2 --libs | sed -e 's|^-L||'`" \
 		--with-opengl=yes \
 		--with-xim \
 		--enable-png \



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