summaryrefslogtreecommitdiff
path: root/www/mod_auth_kerb2/files/patch-Makefile.in
blob: 8d91ba790423b31452531e407b1ab8054bd02dfe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- Makefile.in.orig	2008-12-02 14:07:10 UTC
+++ Makefile.in
@@ -16,7 +16,9 @@ install:
 	./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" "${SPNEGO_SRCS}" "${APXS}" "-c" "src/mod_auth_kerb.c"
 
 install:
-	./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" "${SPNEGO_SRCS}" "${APXS}" "-c -i" "src/mod_auth_kerb.c"
+	mkdir -p "$(DESTDIR)$$(${APXS} -q libexecdir)"
+	${APXS} -S LIBEXECDIR="$(DESTDIR)$$(${APXS} -q libexecdir)" \
+	    -i -n auth_kerb src/mod_auth_kerb.la
 
 clean:
 	for i in . src spnegokrb5; do \