[arch-commits] Commit in dwarffortress/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at nymeria.archlinux.org
Wed Jul 9 04:04:24 UTC 2014
Date: Wednesday, July 9, 2014 @ 06:04:24
Author: svenstaro
Revision: 115339
Fix for 32bit
Modified:
dwarffortress/trunk/PKGBUILD
----------+
PKGBUILD | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-07-09 03:52:31 UTC (rev 115338)
+++ PKGBUILD 2014-07-09 04:04:24 UTC (rev 115339)
@@ -56,7 +56,8 @@
# No idea why we need this. Really. This isn't being loaded dynamically, it's not linked and
# in general there is no indication this is being used. However, it doesn't work without this symlink.
- ln -s /usr/lib32/libpng.so $pkgdir/opt/$pkgname/libs/libpng.so.3
+ [[ $CARCH == "x86_64" ]] && ln -s /usr/lib32/libpng.so $pkgdir/opt/$pkgname/libs/libpng.so.3
+ [[ $CARCH == "i686" ]] && ln -s /usr/lib/libpng.so $pkgdir/opt/$pkgname/libs/libpng.so.3
# Set pkgname in runscript
sed -i "s/^pkgname=.*/pkgname=$pkgname/" $pkgdir/usr/bin/$pkgname
More information about the arch-commits
mailing list