summaryrefslogtreecommitdiff
path: root/misc/cwiid
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-04-10 13:55:45 -0400
committerB. Watson <yalhcru@gmail.com>2022-04-10 13:55:45 -0400
commit71bcc8bbbb2c4ed306e1122e1cf521ee9ba5ad28 (patch)
tree64875f3449771ebc31f880a67105bfedaa08c490 /misc/cwiid
parent51eb62e3767f13672c4dd568ca8e8bdfcb56e650 (diff)
downloadslackbuilds-71bcc8bbbb2c4ed306e1122e1cf521ee9ba5ad28.tar.gz
misc/cwiid: Fix /usr/include permissions.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'misc/cwiid')
-rw-r--r--misc/cwiid/cwiid.SlackBuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/misc/cwiid/cwiid.SlackBuild b/misc/cwiid/cwiid.SlackBuild
index 1e90abfb39..097cafb456 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