From 71bcc8bbbb2c4ed306e1122e1cf521ee9ba5ad28 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 10 Apr 2022 13:55:45 -0400 Subject: misc/cwiid: Fix /usr/include permissions. Signed-off-by: B. Watson --- misc/cwiid/cwiid.SlackBuild | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/misc/cwiid/cwiid.SlackBuild b/misc/cwiid/cwiid.SlackBuild index 1e90abfb3994..097cafb45624 100644 --- a/misc/cwiid/cwiid.SlackBuild +++ b/misc/cwiid/cwiid.SlackBuild @@ -6,6 +6,11 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20220410 bkw: BUILD=2 +# - *really* fix permissions on header. +# - re-add --disable-ldconfig. configure claims it's unsupported, but +# it actually works. + # 20210910 bkw: # - Upgrade to 0.6.91_2 (Debian's 0.6.91-2). # - Actually apply SLKCFLAGS. @@ -31,7 +36,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=cwiid VERSION=${VERSION:-0.6.91_2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -104,6 +109,7 @@ autoreconf -if --localstatedir=/var \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --mandir=/usr/man \ + --disable-ldconfig \ --build=$ARCH-slackware-linux # configure script ignores CFLAGS in the env. Can't use CFLAGS @@ -117,8 +123,8 @@ strip $PKG/usr/bin/* \ $PKGLIB/$PRGNAM/plugins/*.so \ $PKGLIB/python*/site-packages/*.so -# Header gets installed +x, fix -chmod 644 $PKG/etc/cwiid/wminput/* +# Header and configs get installed +x, fix +chmod 644 $PKG/etc/cwiid/wminput/* $PKG/usr/include/cwiid.h # Remove static library, configure doesn't accept --disable-static rm -f $PKGLIB/libcwiid.a -- cgit v1.2.3