From 2a221a29c8676948b5f5bb5c8dadf8db6a9cccce Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sun, 18 Apr 2021 22:53:36 +0700 Subject: libraries/ctemplate: Fix build on current. Signed-off-by: Willy Sudiarto Raharjo --- libraries/ctemplate/ctemplate.SlackBuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'libraries/ctemplate') diff --git a/libraries/ctemplate/ctemplate.SlackBuild b/libraries/ctemplate/ctemplate.SlackBuild index 5c81b06458..d04d68e672 100644 --- a/libraries/ctemplate/ctemplate.SlackBuild +++ b/libraries/ctemplate/ctemplate.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for ctemplate -# Copyright (C) 2012-2020 Willy Sudiarto Raharjo +# Copyright (C) 2012-2021 Willy Sudiarto Raharjo # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -69,7 +69,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -./autogen.sh +autoreconf -fi CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -81,7 +81,10 @@ CXXFLAGS="$SLKCFLAGS" \ --disable-static \ --build=$ARCH-slackware-linux -make install-strip docdir=/usr/doc/$PRGNAM-$VERSION DESTDIR=$PKG +make install docdir=/usr/doc/$PRGNAM-$VERSION DESTDIR=$PKG + +# Remove .la files +rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -- cgit v1.2.3-65-gdbad