summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2015-02-11 13:11:33 +0000
committerJavier Jardón <jjardon@gnome.org>2015-02-18 21:06:17 +0000
commitbab3b7a33e664f8d0eb1d2424e480cdb3b7675c5 (patch)
tree787cf59f12907f6a1b11a690d86da4349dbce4b9
parent6e934a1b4d9d6725c095c2d0b019ac43e4d652a7 (diff)
downloaddefinitions-bab3b7a33e664f8d0eb1d2424e480cdb3b7675c5.tar.gz
Use GNU sed instead the one from busybox
The busybox version caused problems with some packages
-rw-r--r--strata/coreutils-common.morph7
-rw-r--r--strata/coreutils-common/sed.morph11
2 files changed, 18 insertions, 0 deletions
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/