adde grimoire support files
[grimoire-witchcraft.git] / utils / installwatch / installwatch-ld-preload.diff
blob966b5b7a34a0b8d938b49119964c33fb09d7eca7
1 diff -Naur installwatch-0.6.3.ori/Makefile installwatch-0.6.3/Makefile
2 --- installwatch-0.6.3.ori/Makefile 2001-12-22 23:37:06.000000000 +0000
3 +++ installwatch-0.6.3/Makefile 2003-09-20 20:31:52.000000000 +0000
4 @@ -25,8 +25,8 @@
5 ./create-localdecls
7 install: all
8 - if [ -r $(LIBDIR)/installwatch.so ]; then rm $(LIBDIR)/installwatch.so; export LD_PRELOAD=""; cp installwatch.so $(LIBDIR); LD_PRELOAD=$(LIBDIR)/installwatch.so; else cp installwatch.so $(LIBDIR); fi
9 -
10 + cp installwatch.so $(LIBDIR)/installwatch.so.new
11 + mv $(LIBDIR)/installwatch.so.new $(LIBDIR)/installwatch.so
12 sed -e "s|#PREFIX#|$(PREFIX)|" < installwatch > $(BINDIR)/installwatch
13 chmod 755 $(BINDIR)/installwatch