diff options
-rw-r--r-- | desktop/PyPanel/PyPanel.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop/PyPanel/PyPanel.SlackBuild b/desktop/PyPanel/PyPanel.SlackBuild index 21d8759b758ff..11b1d4f05e3d9 100644 --- a/desktop/PyPanel/PyPanel.SlackBuild +++ b/desktop/PyPanel/PyPanel.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=PyPanel VERSION=${VERSION:-2.4} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -51,6 +51,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Fix the imlib2 library path on 64-bit systems. +sed -i "s|/usr/lib/libImlib2|/usr/lib${LIBDIRSUFFIX}/libImlib2|" setup.py + python setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ |