aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2021-08-07 08:45:13 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2021-08-07 08:45:13 +0000
commit5924d18713e73647370876cc592c19d470c6564d (patch)
tree870a2f9d5cc9815ce0904d1da5fb303dae8edd13
parent8252bf7bd5a92e6bf5b11a9785625e8b1fca19f8 (diff)
downloadports-5924d18713e73647370876cc592c19d470c6564d.tar.gz
ports-5924d18713e73647370876cc592c19d470c6564d.zip
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
-rw-r--r--multimedia/vdr-plugin-skinenigmang/Makefile6
1 files changed, 6 insertions, 0 deletions
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