aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-02-02 02:55:49 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-02-02 02:55:49 +0000
commit9aa18d4cac473f85971f1b048b89a69daa49aa45 (patch)
tree03fab27273cf688b0bfaf92d9f7f03c9d143b110 /main
parent3df88b88ab92789abf7920abec675f43fb69cfa0 (diff)
downloadaports-9aa18d4cac473f85971f1b048b89a69daa49aa45.tar.bz2
aports-9aa18d4cac473f85971f1b048b89a69daa49aa45.tar.xz
main/sed: ugly hack to remove sed from build-edge-x86 builder to force building with busybox sed
Diffstat (limited to 'main')
-rw-r--r--main/sed/APKBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/sed/APKBUILD b/main/sed/APKBUILD
index 45187e0d31..3d9ca4efe3 100644
--- a/main/sed/APKBUILD
+++ b/main/sed/APKBUILD
@@ -14,6 +14,13 @@ source="ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz
builddir="$srcdir/$pkgname-$pkgver"
+# XXX -- ugly hack to unbreak x86 builder, don't try this at home kids. we invoke a suid helper to delete sed, forcing
+# busybox sed to be used. hopefully you don't ever see this as i will revert it next...
+prepare() {
+ default_prepare || return 1
+ abuild-apk del sed || return 1
+}
+
build() {
cd "$builddir"
./configure \