summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/002-destdir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/002-destdir.patch')
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/002-destdir.patch68
1 files changed, 68 insertions, 0 deletions
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/002-destdir.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/002-destdir.patch
new file mode 100644
index 0000000..9388332
--- /dev/null
+++ b/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/002-destdir.patch
@@ -0,0 +1,68 @@
+# Patch origin: nfs-server source RPM from openSUSE 10.3
+
+--- nfs-server/Makefile.in 2002/11/07 16:56:07 1.1
++++ nfs-server/Makefile.in 2002/11/07 17:08:41
+@@ -74,10 +74,10 @@
+
+ bindir = $(exec_prefix)/sbin
+ #vardir = $(install_prefix)/var/lib/nfs
+-infodir = $(prefix)/info
+-man5dir = $(prefix)/man/man5
++infodir = $(prefix)/share/info
++man5dir = $(prefix)/share/man/man5
+ man5ext = .5
+-man8dir = $(prefix)/man/man8
++man8dir = $(prefix)/share/man/man8
+ man8ext = .8
+
+ # Prefix to be prepended to each installed RPC program, normally `rpc.'.
+@@ -145,37 +145,37 @@
+ .PHONY: install installdirs
+ install: $(DAEMONS) $(CLIENTS) installdirs
+ @for prog in $(DAEMONS) $(CLIENTS); do \
+- echo "installing $$prog in $(bindir)"; \
+- $(INSTALL_PROGRAM) $$prog $(bindir)/$$prog; \
++ echo "installing $$prog in $(DESTDIR)$(bindir)"; \
++ $(INSTALL_PROGRAM) $$prog $(DESTDIR)$(bindir)/$$prog; \
+ done
+ @for manp in $(MANPAGES5); do \
+- echo "installing $$manp$(man5ext) in $(man5dir)"; \
++ echo "installing $$manp$(man5ext) in $(DESTDIR)$(man5dir)"; \
+ $(INSTALL_DATA) $(srcdir)/$$manp.man \
+- $(man5dir)/$$manp$(man5ext); \
++ $(DESTDIR)$(man5dir)/$$manp$(man5ext); \
+ done
+ @for manp in $(MANPAGES8p); do \
+- echo "installing $$manp$(man8ext) in $(man8dir)"; \
++ echo "installing $$manp$(man8ext) in $(DESTDIR)$(man8dir)"; \
+ $(INSTALL_DATA) $(srcdir)/$$manp.man \
+- $(man8dir)/$$manp$(man8ext); \
++ $(DESTDIR)$(man8dir)/$$manp$(man8ext); \
+ if [ 'x$(rpcprefix)' != 'x' ]; then \
+ rm -f $(man8dir)/$(rpcprefix)$$manp$(man8ext); \
+ ln -s $$manp$(man8ext) \
+- $(man8dir)/$(rpcprefix)$$manp$(man8ext); \
++ $(DESTDIR)$(man8dir)/$(rpcprefix)$$manp$(man8ext); \
+ fi; \
+ done
+ @for manp in $(MANPAGES8); do \
+- echo "installing $$manp$(man8ext) in $(man8dir)"; \
++ echo "installing $$manp$(man8ext) in $(DESTDIR)$(man8dir)"; \
+ $(INSTALL_DATA) $(srcdir)/$$manp.man \
+- $(man8dir)/$$manp$(man8ext); \
++ $(DESTDIR)$(man8dir)/$$manp$(man8ext); \
+ done
+ @if [ -n "$(DEVTAB_FILE)" -a ! -f "$(DEVTAB_FILE)" ]; then \
+ echo "Initializing $(DEVTAB_FILE)"; \
+- $(INSTALL) -m 755 -d `dirname $(DEVTAB_FILE)`; \
+- echo "# Device mapping for unfsd" > "$(DEVTAB_FILE)"; \
++ $(INSTALL) -m 755 -d `dirname $(DESTDIR)$(DEVTAB_FILE)`; \
++ echo "# Device mapping for unfsd" > $(DESTDIR)"$(DEVTAB_FILE)"; \
+ fi
+
+ installdirs:
+- ${srcdir}/mkinstalldirs $(bindir) $(man5dir) $(man8dir)
++ ${srcdir}/mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(man5dir) $(DESTDIR)$(man8dir)
+
+ $(rpcprefix)mountd: $(MOUNTD_OBJS) libnfs.a
+ $(CC) $(LDFLAGS) -o $@ $(MOUNTD_OBJS) $(LIBS)
OpenPOWER on IntegriCloud