summaryrefslogtreecommitdiff
path: root/lib
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 /lib
parentdee70cde4013a53112bc81c396392ef207c3df3d (diff)
downloadbuilder-a038aada10d1b8154e16388683e1cd0d584bac16.tar.xz
lib/common-functions: mangle_pkgbuild(): remove "gcc-multilib" dependencies, too
Diffstat (limited to 'lib')
-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}"
}