Commit 14e88eac authored by Alyssa Ross's avatar Alyssa Ross Committed by github-actions[bot]
Browse files

motif: fix disabling demos

The previous sed expression didn't work, even in the commit that added
it.

Fixes: 68c003b2 ("motif: fixup build after automake update #28232")
(cherry picked from commit 9cfffcd54a0a34889b2d2cc5d9263fb70c1b10ef)
parent 357c26c3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
  propagatedBuildInputs = [ libXp libXau ];

  prePatch = lib.optionalString (!demoSupport) ''
    sed '/^SUBDIRS =,^$/s/\<demos\>//' -i Makefile.{am,in}
    sed 's/\<demos\>//' -i Makefile.{am,in}
  '';

  patches = [