indicator-application: fix substituteInPlace usage
This commit is contained in:
parent
750b78301c
commit
a8e4f34f40
@ -26,8 +26,10 @@ stdenv.mkDerivation rec {
|
||||
--replace 'DBUSSERVICEDIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`' \
|
||||
"DBUSSERVICEDIR=$out/share/dbus-1/services"
|
||||
autoconf
|
||||
substituteInPlace {configure,ltmain.sh,m4/libtool.m4} \
|
||||
--replace /usr/bin/file ${file}/bin/file
|
||||
for f in {configure,ltmain.sh,m4/libtool.m4}; do
|
||||
substituteInPlace $f \
|
||||
--replace /usr/bin/file ${file}/bin/file
|
||||
done
|
||||
substituteInPlace src/Makefile.in \
|
||||
--replace 'applicationlibdir = $(INDICATORDIR)' "applicationlibdir = $out/lib"
|
||||
'';
|
||||
|
@ -28,8 +28,10 @@ stdenv.mkDerivation rec {
|
||||
--replace 'DBUSSERVICEDIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`' \
|
||||
"DBUSSERVICEDIR=$out/share/dbus-1/services"
|
||||
autoconf
|
||||
substituteInPlace {configure,ltmain.sh,m4/libtool.m4} \
|
||||
--replace /usr/bin/file ${file}/bin/file
|
||||
for f in {configure,ltmain.sh,m4/libtool.m4}; do
|
||||
substituteInPlace $f \
|
||||
--replace /usr/bin/file ${file}/bin/file
|
||||
done
|
||||
substituteInPlace src/Makefile.in \
|
||||
--replace 'applicationlibdir = $(INDICATORDIR)' "applicationlibdir = $out/lib"
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user