aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Hameleers <alien@slackware.com>2017-07-13 17:05:02 +0200
committerMatteo Bernardini <ponce@slackbuilds.org>2021-04-18 12:22:51 +0200
commit71e30bdc970908d251aff5d90f9805a57506e384 (patch)
treee2276a0921d141f721f1c60f9800684ce20417bf
parent11a7268d91b74b8c499e608dc7ce8676f3cd147b (diff)
development/gcc5: fix the .la file filtering
This SlackBuild script uses a different temporary location to compile the sources than the original Slackware version. Signed-off-by: Eric Hameleers <alien@slackware.com> Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--development/gcc5/gcc5.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/development/gcc5/gcc5.SlackBuild b/development/gcc5/gcc5.SlackBuild
index 955c14b30253..007936359d90 100644
--- a/development/gcc5/gcc5.SlackBuild
+++ b/development/gcc5/gcc5.SlackBuild
@@ -520,7 +520,7 @@ cat $CWD/libgcj-5.pc \
# Filter all .la files (thanks much to Mark Post for the sed script):
( cd $TMP
for file in $(find $PKG -type f -name "*.la") ; do
- cat $file | sed -e 's%-L/gcc-[[:graph:]]* % %g' > $TMP/tmp-la-file
+ cat $file | sed -e 's%-L'${TMP}'[[:graph:]]* % %g' > $TMP/tmp-la-file
cat $TMP/tmp-la-file > $file
done
rm $TMP/tmp-la-file