libappindicator-gtk2: remove obsolete substitutions
This commit is contained in:
parent
f49002cd26
commit
573ab436a4
@ -1,6 +1,6 @@
|
|||||||
# TODO: Resolve the issues with the Mono bindings.
|
# TODO: Resolve the issues with the Mono bindings.
|
||||||
|
|
||||||
{ stdenv, fetchurl, fetchpatch, lib, file
|
{ stdenv, fetchurl, fetchpatch, lib
|
||||||
, pkgconfig, autoreconfHook
|
, pkgconfig, autoreconfHook
|
||||||
, glib, dbus-glib, gtkVersion ? "3"
|
, glib, dbus-glib, gtkVersion ? "3"
|
||||||
, gtk2 ? null, libindicator-gtk2 ? null, libdbusmenu-gtk2 ? null
|
, gtk2 ? null, libindicator-gtk2 ? null, libdbusmenu-gtk2 ? null
|
||||||
@ -46,13 +46,6 @@ stdenv.mkDerivation rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
for f in {configure,ltmain.sh,m4/libtool.m4}; do
|
|
||||||
substituteInPlace $f \
|
|
||||||
--replace /usr/bin/file ${file}/bin/file
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"CFLAGS=-Wno-error"
|
"CFLAGS=-Wno-error"
|
||||||
"--sysconfdir=/etc"
|
"--sysconfdir=/etc"
|
||||||
@ -60,11 +53,6 @@ stdenv.mkDerivation rec {
|
|||||||
"--with-gtk=${gtkVersion}"
|
"--with-gtk=${gtkVersion}"
|
||||||
];
|
];
|
||||||
|
|
||||||
postConfigure = ''
|
|
||||||
substituteInPlace configure \
|
|
||||||
--replace /usr/bin/file ${file}/bin/file
|
|
||||||
'';
|
|
||||||
|
|
||||||
doCheck = false; # generates shebangs in check phase, too lazy to fix
|
doCheck = false; # generates shebangs in check phase, too lazy to fix
|
||||||
|
|
||||||
installFlags = [
|
installFlags = [
|
||||||
|
Loading…
Reference in New Issue
Block a user