colord: fixup build after automake update #28232
It was enough to switch the order of patching to avoid the need to autoreconf.
This commit is contained in:
parent
bb24434904
commit
2d55ee40fa
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchzip, fetchgit, bash-completion
|
{ stdenv, fetchzip, bash-completion
|
||||||
, glib, polkit, pkgconfig, intltool, gusb, libusb1, lcms2, sqlite, systemd, dbus
|
, glib, polkit, pkgconfig, intltool, gusb, libusb1, lcms2, sqlite, systemd, dbus
|
||||||
, automake, autoconf, libtool, gtk_doc, which, gobjectIntrospection, argyllcms
|
, gtk_doc, gobjectIntrospection, argyllcms
|
||||||
, libgudev, sane-backends }:
|
, libgudev, sane-backends }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -23,12 +23,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# don't touch /var at install time, colord creates what it needs at runtime
|
# don't touch /var at install time, colord creates what it needs at runtime
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i -e "s|if test -w .*;|if false;|" src/Makefile.in
|
sed -e "s|if test -w .*;|if false;|" -i src/Makefile.{am,in}
|
||||||
sed -i -e "s|if test -w .*;|if false;|" src/Makefile.am
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ glib polkit pkgconfig intltool gusb libusb1 lcms2 sqlite systemd dbus gobjectIntrospection
|
buildInputs = [ glib polkit pkgconfig intltool gusb libusb1 lcms2 sqlite systemd dbus gobjectIntrospection
|
||||||
bash-completion argyllcms automake autoconf libgudev sane-backends ];
|
bash-completion argyllcms libgudev sane-backends ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/etc/bash_completion.d
|
mkdir -p $out/etc/bash_completion.d
|
||||||
|
Loading…
x
Reference in New Issue
Block a user