2005-11-11 03:39:40 +00:00
|
|
|
If libexecdir and sbindir are the same, avoid making an absolute symlink.
|
|
|
|
|
|
|
|
|
2008-09-01 08:09:50 +00:00
|
|
|
diff -up openldap-2.4.11/servers/slapd/Makefile.in.patch5 openldap-2.4.11/servers/slapd/Makefile.in
|
|
|
|
--- openldap-2.4.11/servers/slapd/Makefile.in.patch5 2008-09-01 09:57:09.000000000 +0200
|
|
|
|
+++ openldap-2.4.11/servers/slapd/Makefile.in 2008-09-01 09:57:09.000000000 +0200
|
|
|
|
@@ -270,7 +270,12 @@ slapd: $(SLAPD_DEPENDS) @LIBSLAPI@
|
2005-11-11 03:39:40 +00:00
|
|
|
$(WRAP_LIBS)
|
|
|
|
$(RM) $(SLAPTOOLS)
|
|
|
|
for i in $(SLAPTOOLS); do \
|
|
|
|
- $(LN_S) slapd$(EXEEXT) $$i$(EXEEXT); done
|
|
|
|
+ if test $(libexecdir) != $(sbindir) ; then \
|
|
|
|
+ $(LN_S) $(libexecdir)/slapd$(EXEEXT) $$i$(EXEEXT); \
|
|
|
|
+ else \
|
|
|
|
+ $(LN_S) slapd$(EXEEXT) $$i$(EXEEXT); \
|
|
|
|
+ fi \
|
|
|
|
+ done
|
|
|
|
|
|
|
|
|
|
|
|
sslapd: version.o
|