summaryrefslogtreecommitdiff
path: root/libraries/libAfterImage
diff options
context:
space:
mode:
authorDavid Woodfall <dave@slackbuilds.org>2021-04-20 13:01:06 +0000
committerRobby Workman <rworkman@slackbuilds.org>2021-04-20 17:53:22 -0500
commit8b919936e97b1b11b817b5b3206a27f5beda8a59 (patch)
treef7b372b2e41f192128f250f8e70983d596090b25 /libraries/libAfterImage
parentb5f748cd368503c80aedbd47a083a71001d70ca4 (diff)
downloadslackbuilds-8b919936e97b1b11b817b5b3206a27f5beda8a59.tar.gz
libraries/libAfterImage: Fix make command.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Diffstat (limited to 'libraries/libAfterImage')
-rw-r--r--libraries/libAfterImage/libAfterImage.SlackBuild7
1 files changed, 2 insertions, 5 deletions
diff --git a/libraries/libAfterImage/libAfterImage.SlackBuild b/libraries/libAfterImage/libAfterImage.SlackBuild
index a542f73809..c0300628c7 100644
--- a/libraries/libAfterImage/libAfterImage.SlackBuild
+++ b/libraries/libAfterImage/libAfterImage.SlackBuild
@@ -7,7 +7,7 @@
PRGNAM=libAfterImage
VERSION=${VERSION:-1.20}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -55,9 +55,6 @@ find -L . \
# Patch for libpng16 (from Gentoo)
patch -p0 < $CWD/libafterimage-libpng15.patch
-# Get rid of ldconfig in Makefile
-find . -name "Makefile*" -exec sed -i '/LDCONFIG/d' {} \;
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -80,7 +77,7 @@ CXXFLAGS="$SLKCFLAGS" \
--with-x \
--build=$ARCH-slackware-linux
-make
+make AR="ar cq"
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \