games/openra: NUGET_PACKAGEDIR is a symlink after r460430

*.config files under thirdparty/download/ didn't have os="freebsd" lines
because find(1) doesn't follow symlinks by default which broke runtime e.g.,

System.DllNotFoundException: soft_oal.dll
  at (wrapper managed-to-native) OpenAL.ALC10:alcOpenDevice (string)
  at OpenRA.Platforms.Default.OpenAlSoundEngine..ctor (System.String deviceName) [0x0003f] in <2342b54840fb4908bd25f1f5db2e89d7>:0
  at OpenRA.Platforms.Default.DefaultPlatform.CreateSound (System.String device) [0x00001] in <2342b54840fb4908bd25f1f5db2e89d7>:0
  at OpenRA.Sound..ctor (OpenRA.IPlatform platform, OpenRA.SoundSettings soundSettings) [0x0001d] in <e7e76c84784c4fac82f4d6ffd1656cc2>:0
  at OpenRA.Game.Initialize (OpenRA.Arguments args) [0x00223] in <e7e76c84784c4fac82f4d6ffd1656cc2>:0
System.DllNotFoundException: soft_oal.dll
  at (wrapper managed-to-native) OpenAL.ALC10:alcOpenDevice (string)
  at OpenRA.Platforms.Default.OpenAlSoundEngine..ctor (System.String deviceName) [0x0003f] in <2342b54840fb4908bd25f1f5db2e89d7>:0
  at OpenRA.Platforms.Default.DefaultPlatform.CreateSound (System.String device) [0x00001] in <2342b54840fb4908bd25f1f5db2e89d7>:0
  at OpenRA.Sound..ctor (OpenRA.IPlatform platform, OpenRA.SoundSettings soundSettings) [0x0001d] in <e7e76c84784c4fac82f4d6ffd1656cc2>:0
  at OpenRA.Game.Initialize (OpenRA.Arguments args) [0x00223] in <e7e76c84784c4fac82f4d6ffd1656cc2>:0
This commit is contained in:
Jan Beich 2018-01-30 20:49:14 +00:00
parent 74fd49f53e
commit f61f0b72d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=460436

View file

@ -2,8 +2,8 @@
PORTNAME= openra
PORTVERSION= 20171014
PORTREVISION= 1
DISTVERSIONPREFIX= release-
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= https://github.com/${GH_ACCOUNT}/SDL2-CS/releases/download/20161223/:SDL2_CS \
https://github.com/${GH_ACCOUNT}/OpenAL-CS/releases/download/20151227/:OpenAL_CS \
@ -69,7 +69,7 @@ post-patch:
${WRKSRC}/Makefile
${REINPLACE_CMD} -e '/[[:<:]]get[[:blank:]]/d' \
${WRKSRC}/thirdparty/fetch-thirdparty-deps.sh
${FIND} ${WRKSRC}/thirdparty -name '*.config*' -exec ${REINPLACE_CMD} \
${FIND} -L ${WRKSRC}/thirdparty -name '*.config*' -exec ${REINPLACE_CMD} \
-i '.bak.os' -e '/linux/{ p; s//${OPSYS:tl}/; }' {} +
${SED} 's/@LIBLUA51@/liblua-${LUA_VER}.so/' \
${WRKSRC}/thirdparty/Eluant.dll.config.in \