aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/termcap/termcap-2.0.8/003_all_termcap-inst-no-root.patch
diff options
context:
space:
mode:
authorCliff Brake <cbrake@bec-systems.com>2010-11-12 00:00:20 -0500
committerCliff Brake <cbrake@bec-systems.com>2010-11-12 00:00:20 -0500
commit3c6efe8f8abc16668ca5e9cdf7a46665dac87172 (patch)
tree642c13416b99e80f0871cdc6668e832e635dfb48 /recipes/termcap/termcap-2.0.8/003_all_termcap-inst-no-root.patch
parentc400c874f2ac9233b8a43a73309b6e7907289c54 (diff)
parent13fbe7253c95881ede787004a4c3a1c31502e5c6 (diff)
downloadopenembedded-3c6efe8f8abc16668ca5e9cdf7a46665dac87172.tar.gz
openembedded-3c6efe8f8abc16668ca5e9cdf7a46665dac87172.tar.bz2
openembedded-3c6efe8f8abc16668ca5e9cdf7a46665dac87172.zip
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.patch34
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