diff options
author | Cliff Brake <cbrake@bec-systems.com> | 2010-11-12 00:00:20 -0500 |
---|---|---|
committer | Cliff Brake <cbrake@bec-systems.com> | 2010-11-12 00:00:20 -0500 |
commit | 3c6efe8f8abc16668ca5e9cdf7a46665dac87172 (patch) | |
tree | 642c13416b99e80f0871cdc6668e832e635dfb48 /recipes/termcap/termcap-2.0.8/003_all_termcap-inst-no-root.patch | |
parent | c400c874f2ac9233b8a43a73309b6e7907289c54 (diff) | |
parent | 13fbe7253c95881ede787004a4c3a1c31502e5c6 (diff) | |
download | openembedded-testing.tar.gz |
Merge branch 'master' into testing-nexttested_2010-11-12testing
Diffstat (limited to 'recipes/termcap/termcap-2.0.8/003_all_termcap-inst-no-root.patch')
-rw-r--r-- | recipes/termcap/termcap-2.0.8/003_all_termcap-inst-no-root.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes/termcap/termcap-2.0.8/003_all_termcap-inst-no-root.patch b/recipes/termcap/termcap-2.0.8/003_all_termcap-inst-no-root.patch new file mode 100644 index 0000000000..81d2710f8f --- /dev/null +++ b/recipes/termcap/termcap-2.0.8/003_all_termcap-inst-no-root.patch @@ -0,0 +1,34 @@ +--- termcap-2.0.8/Makefile.nochown ++++ termcap-2.0.8/Makefile +@@ -53,11 +53,7 @@ + $(prefix)/lib/backup/$(SHARED_LIB).$$$$; \ + fi + cp $(SHARED_LIB) $(prefix)/lib +- chown $(OWNER) $(prefix)/lib/$(SHARED_LIB) +- if [ -x /sbin/ldconfig -o -x /etc/ldconfig ]; then \ +- ldconfig; \ +- fi + -if [ $(prefix) = "/" ]; then \ + cp -f $(STATIC_LIB) /usr/lib; \ + rm -f /lib/libtermcap.so; \ + rm -f /usr/lib/libtermcap.so; \ +@@ -75,10 +74,6 @@ + ln -s $(prefix)/lib/$(SHARED_LIB) \ + $(prefix)/lib/libtermcap.so; \ + cp -f termcap.h $(prefix)/include; \ +- chown $(OWNER) \ +- $(prefix)/lib/$(STATIC_LIB) \ +- $(prefix)/lib/libtermcap.so \ +- $(prefix)/include/termcap.h; \ + fi + + install-dirs: +@@ -89,7 +84,7 @@ + install-data: + -if [ $(prefix) = "/" ]; then \ + cp termcap.src /etc/termcap; \ +- chown $(OWNER) /etc/termcap; \ ++ #chown $(OWNER) /etc/termcap; \ + fi + + info: termcap.info |