diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-04-18 22:53:36 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-04-19 13:16:48 +0700 |
commit | 2a221a29c8676948b5f5bb5c8dadf8db6a9cccce (patch) | |
tree | cd7ca7764d6b72ada7efa458159533e01b976e6f /libraries/ctemplate | |
parent | 5c60b0e25590a3c16c4e230e13a959620e61a196 (diff) | |
download | slackbuilds-2a221a29c8676948b5f5bb5c8dadf8db6a9cccce.tar.gz |
libraries/ctemplate: Fix build on current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/ctemplate')
-rw-r--r-- | libraries/ctemplate/ctemplate.SlackBuild | 9 |
1 files changed, 6 insertions, 3 deletions
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 <willysr@slackbuilds.org> +# Copyright (C) 2012-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # 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 |