libtirpc/libtirpc-0.1.7-use_sysconfdir.patch

14 lines
496 B
Diff
Raw Normal View History

Index: libtirpc-0.1.7/Makefile.am
===================================================================
--- libtirpc-0.1.7.orig/Makefile.am
+++ libtirpc-0.1.7/Makefile.am
@@ -44,5 +44,6 @@ nobase_include_HEADERS = tirpc/un-namesp
tirpc/rpc/auth_des.h
install-exec-local:
- cp -p ./doc/etc_netconfig /etc/netconfig
- chmod 0644 /etc/netconfig
+ mkdir -p $(DESTDIR)$(sysconfdir)
+ cp -p ./doc/etc_netconfig $(DESTDIR)$(sysconfdir)/netconfig
+ chmod 0644 $(DESTDIR)$(sysconfdir)/netconfig