1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

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
This commit is contained in:
Tobias C. Berner 2021-08-07 10:45:13 +02:00
parent 8252bf7bd5
commit 5924d18713

View File

@ -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