summaryrefslogtreecommitdiff
path: root/net/openldap24-server/files/patch-servers__slapd__Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'net/openldap24-server/files/patch-servers__slapd__Makefile.in')
-rw-r--r--net/openldap24-server/files/patch-servers__slapd__Makefile.in44
1 files changed, 44 insertions, 0 deletions
diff --git a/net/openldap24-server/files/patch-servers__slapd__Makefile.in b/net/openldap24-server/files/patch-servers__slapd__Makefile.in
new file mode 100644
index 000000000000..6444fb575208
--- /dev/null
+++ b/net/openldap24-server/files/patch-servers__slapd__Makefile.in
@@ -0,0 +1,44 @@
+--- servers/slapd/Makefile.in.orig 2008-02-11 15:26:43.000000000 -0800
++++ servers/slapd/Makefile.in 2008-07-19 20:10:16.023473779 -0700
+@@ -371,7 +371,6 @@
+
+ install-slapd: FORCE
+ -$(MKDIR) $(DESTDIR)$(libexecdir)
+- -$(MKDIR) $(DESTDIR)$(localstatedir)/run
+ $(LTINSTALL) $(INSTALLFLAGS) $(STRIP) -m 755 \
+ slapd$(EXEEXT) $(DESTDIR)$(libexecdir)
+ @for i in $(SUBDIRS); do \
+@@ -406,16 +405,18 @@
+ touch all-cffiles
+
+ install-schema: FORCE
+- @if test -d $(DESTDIR)$(schemadir) ; then \
+- echo "MOVING EXISTING SCHEMA DIR to $(DESTDIR)$(schemadir).$$$$" ; \
+- mv $(DESTDIR)$(schemadir) $(DESTDIR)$(schemadir).$$$$ ; \
+- fi
+- $(MKDIR) $(DESTDIR)$(schemadir)
++ @-$(MKDIR) $(DESTDIR)$(schemadir)
+ @SD=$(DESTDIR)$(schemadir) ; \
+- files=`cd $(srcdir)/schema ; echo README *.ldif *.schema` ; \
++ files=`cd $(srcdir)/schema ; echo README *.ldif` ; \
+ for i in $$files ; do \
+ echo $(INSTALL) $(INSTALLFLAGS) -m 444 schema/$$i $$SD/$$i ; \
+ $(INSTALL) $(INSTALLFLAGS) -m 444 $(srcdir)/schema/$$i $$SD/$$i ; \
++ done ; \
++ files=`cd $(srcdir)/schema ; echo *.schema` ; \
++ for i in $$files ; do \
++ echo $(INSTALL) $(INSTALLFLAGS) -m 444 schema/$$i $$SD/$$i ; \
++ [ -f $$SD/$$i ] || $(INSTALL) $(INSTALLFLAGS) -m 444 $(srcdir)/schema/$$i $$SD/$$i ; \
++ $(INSTALL) $(INSTALLFLAGS) -m 444 $(srcdir)/schema/$$i $$SD/$$i.default ; \
+ done
+
+ install-conf: FORCE
+@@ -441,8 +442,6 @@
+ @-$(MKDIR) $(DESTDIR)$(localstatedir) $(DESTDIR)$(sysconfdir)
+ @-$(INSTALL) -m 700 -d $(DESTDIR)$(localstatedir)/openldap-data
+ $(INSTALL) $(INSTALLFLAGS) -m 600 $(srcdir)/DB_CONFIG \
+- $(DESTDIR)$(localstatedir)/openldap-data/DB_CONFIG.example
+- $(INSTALL) $(INSTALLFLAGS) -m 600 $(srcdir)/DB_CONFIG \
+ $(DESTDIR)$(sysconfdir)/DB_CONFIG.example
+
+ install-tools: FORCE