From bab3b7a33e664f8d0eb1d2424e480cdb3b7675c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Wed, 11 Feb 2015 13:11:33 +0000 Subject: Use GNU sed instead the one from busybox The busybox version caused problems with some packages --- strata/coreutils-common.morph | 7 +++++++ strata/coreutils-common/sed.morph | 11 +++++++++++ 2 files changed, 18 insertions(+) create mode 100644 strata/coreutils-common/sed.morph diff --git a/strata/coreutils-common.morph b/strata/coreutils-common.morph index 9c5c38fe..427199a3 100644 --- a/strata/coreutils-common.morph +++ b/strata/coreutils-common.morph @@ -13,3 +13,10 @@ chunks: ref: 9df9643842e4b4d8ece710fe6105f32fa38a0d22 unpetrify-ref: baserock/8.23 build-depends: [] +- name: sed + morph: strata/coreutils-common/sed.morph + repo: upstream:sed + ref: ed4b1d7c04f92b330b940d4f0d02cd51d2473ce9 + unpetrify-ref: baserock/morph + build-depends: + - coreutils diff --git a/strata/coreutils-common/sed.morph b/strata/coreutils-common/sed.morph new file mode 100644 index 00000000..e426afe7 --- /dev/null +++ b/strata/coreutils-common/sed.morph @@ -0,0 +1,11 @@ +me: sed +kind: chunk +build-system: autotools +configure-commands: +- ./bootstrap --skip-po +- ./configure --prefix="$PREFIX" --disable-gcc-warnings +post-install-commands: +# This hack is to use GNU sed instead the busybox one. +# This will dissappear when we merge /usr/bin and /bin. +- mkdir -p "$DESTDIR"/bin/ +- ln -sf ../usr/bin/sed "$DESTDIR"/bin/ -- cgit v1.2.1