summaryrefslogtreecommitdiff
path: root/system/ded/ded.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-05 11:40:30 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-11 07:04:20 +0700
commit4864c00d08564fb3184f83d65d8fc054cf8091f5 (patch)
tree5a4e7587a5c9a5b242f49974c54aa3a8ec547e5d /system/ded/ded.SlackBuild
parentd0e6ae508b0ea2f834262014a2796ca47f734300 (diff)
downloadslackbuilds-4864c00d08564fb3184f83d65d8fc054cf8091f5.tar.gz
system/ded: Minor script fix.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'system/ded/ded.SlackBuild')
-rw-r--r--system/ded/ded.SlackBuild11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/ded/ded.SlackBuild b/system/ded/ded.SlackBuild
index 8918208f93..2d952e6df1 100644
--- a/system/ded/ded.SlackBuild
+++ b/system/ded/ded.SlackBuild
@@ -10,6 +10,12 @@
# This build script was written from scratch for 14.1, without referring
# to the old script.
+# 20170305 bkw:
+# - stop gnulib's long filename test from writing to /usr/lib and /var/lib
+
+# 20150909 bkw:
+# - updated for 20150704 release
+
# 20140826 bkw:
# - updated for 20140722 release
# - added td_lib docs in /usr/doc
@@ -70,6 +76,11 @@ 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 {} \;
+# "checking for long filenames" wants to create files in /usr/lib and
+# /var/lib. Violates the principle of least surprise: users don't expect
+# configure scripts (or SlackBuilds) to touch their system directories.
+patch -p1 < $CWD/td_lib_no_write_usr.diff
+
# NB: the -j1's are necessary, even on 'make install'.
CFLAGS="$SLKCFLAGS" \