1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00

games/openra: de-duplicate dllmap in *.config files

SharpFont.dll.config already has os="freebsd" line but not os="dragonfly".
Due to symlinks this can lead to

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
	<dllmap dll="freetype6" os="linux" target="libfreetype.so.6" />
	<dllmap dll="freetype6" os="freebsd" target="libfreetype.so.6" />
	<dllmap dll="freetype6" os="freebsd" target="libfreetype.so.6" />
	<dllmap dll="freetype6" os="freebsd" target="libfreetype.so.6" />
	<dllmap dll="freetype6" os="freebsd" target="libfreetype.so.6" />
	<dllmap dll="freetype6" os="osx" target="/Library/Frameworks/Mono.framework/Libraries/libfreetype.6.dylib" />
	<dllmap dll="freetype6" os="freebsd" target="libfreetype.so.6" />
</configuration>
This commit is contained in:
Jan Beich 2018-01-30 21:38:18 +00:00
parent 6244f44401
commit 810632df12
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=460439

View File

@ -70,7 +70,7 @@ post-patch:
${REINPLACE_CMD} -e '/[[:<:]]get[[:blank:]]/d' \
${WRKSRC}/thirdparty/fetch-thirdparty-deps.sh
${FIND} -L ${WRKSRC}/thirdparty -name '*.config*' -exec ${REINPLACE_CMD} \
-i '.bak.os' -e '/linux/{ p; s//${OPSYS:tl}/; }' {} +
-i '.bak.os' -e '/${OPSYS:tl}/d; /linux/{ p; s//${OPSYS:tl}/; }' {} +
${SED} 's/@LIBLUA51@/liblua-${LUA_VER}.so/' \
${WRKSRC}/thirdparty/Eluant.dll.config.in \
>${WRKSRC}/Eluant.dll.config