File: destdir.patch

package info (click to toggle)
libapache2-mod-ldap-userdir 1.1.19-2.2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 288 kB
  • sloc: ansic: 921; makefile: 56
file content (15 lines) | stat: -rw-r--r-- 526 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Andreas Tille <tille@debian.org>
Last-Update: 2025-10-30
Description: Enable smooth installation using upstream install target

--- a/Makefile.in
+++ b/Makefile.in
@@ -10,7 +10,7 @@ $(TARGET): Makefile mod_ldap_userdir.c
 	$(APXS) -c $(CPPFLAGS) $(LDFLAGS) $(LIBS) $(TLS) mod_ldap_userdir.c
 
 install: $(TARGET)
-	$(APXS) -in ldap_userdir $(ACTIVATE) $(TARGET)
+	$(APXS) -S LIBEXECDIR=$(DESTDIR)`$(APXS) -q LIBEXECDIR` -in ldap_userdir $(ACTIVATE) $(TARGET)
 
 clean:
 	rm -rf *.lo *.la *.slo *.so *.o .libs/ *~ core