From 7923783b4342e976af8873a9e12e2610cad7eed7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Wed, 3 Nov 2010 13:25:19 +0000
Subject: [PATCH]  - do not force to change ownership of installed files,
 inspired on   
 http://repos.archlinux.org/wsvn/packages/gdbm/repos/core-i686/gdbm-1.8.3-fhs.patch

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39836 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 patches/gdbm-Makefile.in-nochange.patch | 40 +++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 patches/gdbm-Makefile.in-nochange.patch

diff --git a/patches/gdbm-Makefile.in-nochange.patch b/patches/gdbm-Makefile.in-nochange.patch
new file mode 100644
index 0000000000..014520f58c
--- /dev/null
+++ b/patches/gdbm-Makefile.in-nochange.patch
@@ -0,0 +1,40 @@
+--- Makefile.in	2002-10-08 16:09:12.000000000 +0000
++++ Makefile.in.nochange	2010-11-03 21:17:38.579435530 +0000
+@@ -14,10 +14,6 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ 
+-# File ownership and group
+-BINOWN = bin
+-BINGRP = bin
+-
+ MAKEINFO = makeinfo
+ TEXI2DVI = texi2dvi
+ 
+@@ -131,11 +127,11 @@
+ 		$(INSTALL_ROOT)$(includedir) $(INSTALL_ROOT)$(man3dir) \
+ 		$(INSTALL_ROOT)$(infodir)
+ 	$(LIBTOOL) $(INSTALL) -c libgdbm.la $(INSTALL_ROOT)$(libdir)/libgdbm.la
+-	$(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) gdbm.h \
++	$(INSTALL_DATA) gdbm.h \
+ 		$(INSTALL_ROOT)$(includedir)/gdbm.h
+-	$(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/gdbm.3 \
++	$(INSTALL_DATA) $(srcdir)/gdbm.3 \
+ 		$(INSTALL_ROOT)$(man3dir)/gdbm.3
+-	$(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/gdbm.info \
++	$(INSTALL_DATA) $(srcdir)/gdbm.info \
+ 		$(INSTALL_ROOT)$(infodir)/gdbm.info
+ 
+ install-compat:
+@@ -143,9 +139,9 @@
+ 		$(INSTALL_ROOT)$(includedir)
+ 	$(LIBTOOL) $(INSTALL) -c libgdbm_compat.la \
+ 		$(INSTALL_ROOT)$(libdir)/libgdbm_compat.la
+-	$(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/dbm.h \
++	$(INSTALL_DATA) $(srcdir)/dbm.h \
+ 		$(INSTALL_ROOT)$(includedir)/dbm.h
+-	$(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/ndbm.h \
++	$(INSTALL_DATA) $(srcdir)/ndbm.h \
+ 		$(INSTALL_ROOT)$(includedir)/ndbm.h
+ 
+ #libgdbm.a: $(OBJS) gdbm.h
-- 
2.30.9