diff options
author | jbeich <jbeich@FreeBSD.org> | 2018-01-31 05:38:18 +0800 |
---|---|---|
committer | Koop Mast <kwm@rainbow-runner.nl> | 2018-02-04 06:32:08 +0800 |
commit | cc661ba8399f09290d77cbd131fbe8bf2de65779 (patch) | |
tree | ef4a551c0fa12c43bb97ab55e576aa3837cb8437 | |
parent | 153c4ddfee46fd0c39f6c04f967923a244f6ff1c (diff) | |
download | freebsd-ports-gnome-cc661ba8399f09290d77cbd131fbe8bf2de65779.tar.gz freebsd-ports-gnome-cc661ba8399f09290d77cbd131fbe8bf2de65779.tar.zst freebsd-ports-gnome-cc661ba8399f09290d77cbd131fbe8bf2de65779.zip |
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>
-rw-r--r-- | games/openra/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/openra/Makefile b/games/openra/Makefile index a4deb3f8265a..4c89749f491a 100644 --- a/games/openra/Makefile +++ b/games/openra/Makefile @@ -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 |