SOURCES: openldap-install.patch - create links in $DESTDIR, not in...
glen
glen at pld-linux.org
Tue Feb 28 12:00:37 CET 2006
Author: glen Date: Tue Feb 28 11:00:37 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- create links in $DESTDIR, not in builddir
---- Files affected:
SOURCES:
openldap-install.patch (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SOURCES/openldap-install.patch
diff -u SOURCES/openldap-install.patch:1.4 SOURCES/openldap-install.patch:1.5
--- SOURCES/openldap-install.patch:1.4 Wed Jul 20 07:51:07 2005
+++ SOURCES/openldap-install.patch Tue Feb 28 12:00:31 2006
@@ -1,11 +1,20 @@
---- openldap-2.3.4/servers/slapd/Makefile.in.orig 2005-05-06 18:42:50.000000000 +0200
-+++ openldap-2.3.4/servers/slapd/Makefile.in 2005-07-19 21:56:52.188705528 +0200
+--- openldap-2.3.20/servers/slapd/Makefile.in~ 2006-02-28 12:21:11.000000000 +0200
++++ openldap-2.3.20/servers/slapd/Makefile.in 2006-02-28 12:56:13.000000000 +0200
+@@ -370,7 +370,7 @@
+ done
+
+ install-local-srv: install-slapd install-tools \
+- install-conf install-db-config install-schema install-tools
++ install-conf install-db-config install-schema
+
+ install-slapd: FORCE
+ -$(MKDIR) $(DESTDIR)$(libexecdir)
@@ -443,6 +443,10 @@
-$(MKDIR) $(DESTDIR)$(sbindir)
for i in $(SLAPTOOLS); do \
$(RM) $(DESTDIR)$(sbindir)/$$i$(EXEEXT); \
+ if test "$(libexecdir)" = "$(sbindir)" ; then \
-+ $(LN_S) slapd$(EXEEXT) $$i$(EXEEXT) ; \
++ $(LN_S) $(DESTDIR)$(sbindir)/slapd$(EXEEXT) $(DESTDIR)$(sbindir)/$$i$(EXEEXT); \
+ else \
$(LN_S) -f $(DESTDIR)$(libexecdir)/slapd$(EXEEXT) $(DESTDIR)$(sbindir)/$$i$(EXEEXT); \
+ fi ; \
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/openldap-install.patch?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list