Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Aug 2021 08:48:23 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: 5924d18713e7 - main - multimedia/vdr-plugin-skinenigmang: prepare for freetype2 update
Message-ID:  <202108070848.1778mNCq010238@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=5924d18713e73647370876cc592c19d470c6564d

commit 5924d18713e73647370876cc592c19d470c6564d
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2021-08-07 08:45:13 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2021-08-07 08:45:13 +0000

    multimedia/vdr-plugin-skinenigmang: 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
---
 multimedia/vdr-plugin-skinenigmang/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/multimedia/vdr-plugin-skinenigmang/Makefile b/multimedia/vdr-plugin-skinenigmang/Makefile
index 96fd6b595b79..df71c72dbd54 100644
--- a/multimedia/vdr-plugin-skinenigmang/Makefile
+++ b/multimedia/vdr-plugin-skinenigmang/Makefile
@@ -16,6 +16,8 @@ COMMENT=	Video Disk Recorder - Enigma-NG skin plugin
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+USES=		pkgconfig
+
 PATCH_STRIP=	-p1
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
@@ -23,9 +25,13 @@ PORTDOCS=	README HISTORY
 
 OPTIONS_DEFINE=	DOCS NLS
 
+BINARY_ALIAS=	freetype-config=true
+
 .include	"${.CURDIR}/../vdr/Makefile.plugins"
 
 post-patch: post-patch-plugin
+	${REINPLACE_CMD} 's|freetype-config |pkg-config freetype2 |g' \
+		${WRKSRC}/Makefile
 
 pre-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr



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