Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-28 15:21:59 +0200
committerErich Eckner <git@eckner.net>2018-06-28 15:21:59 +0200
commita038aada10d1b8154e16388683e1cd0d584bac16 (patch)
treed7f2ba3c088a6bb8b4968690557cf8ddb28c09cb
parentdee70cde4013a53112bc81c396392ef207c3df3d (diff)
lib/common-functions: mangle_pkgbuild(): remove "gcc-multilib" dependencies, too
-rwxr-xr-xlib/common-functions3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 8c21101..4e5bd45 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -352,7 +352,7 @@ recursively_umount_and_rm() {
# mangle_pkgbuild $PKGBUILD [$sub_pkgrel]
# mangle $arch in PKBUILDs to contain i486, i686, pentium3
# append $sub_pkgrel to the pkgrel
-# remove "lib32-" from {make,check,opt,}depends
+# remove "lib32-" and "gcc-multilib" from {make,check,opt,}depends
mangle_pkgbuild() {
local PKGBUILD="$1"
@@ -385,6 +385,7 @@ mangle_pkgbuild() {
}
}
s/\(["'"'"'([:space:]]\)lib32-/\1/g
+ s/\(["'"'"'([:space:]]\)gcc-multilib\(["'"'"')[:space:]]\)/\1gcc\2/g
}
' "${PKGBUILD}"
}