File: 01-destdir-0.5.diff

package info (click to toggle)
libapache2-mod-auth-openid 0.8-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 1,712 kB
  • sloc: sh: 11,069; cpp: 1,583; makefile: 34
file content (21 lines) | stat: -rw-r--r-- 869 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: NIIBE Yutaka <gniibe@fsij.org>
Date: Tue, 26 Apr 2016 11:17:17 -0400
Subject: destdir-0.5

Index: libapache2-mod-auth-openid/src/Makefile.am
===================================================================
--- libapache2-mod-auth-openid.orig/src/Makefile.am
+++ libapache2-mod-auth-openid/src/Makefile.am
@@ -25,8 +25,9 @@ AM_CXXFLAGS += -DDEBUG
 endif
 
 install-exec-local:
-	${APXS} -i -a -n 'authopenid' mod_auth_openid.la
+	${APXS} -i -S LIBEXECDIR=${DESTDIR}/usr/lib/apache2/modules -n 'authopenid' mod_auth_openid.la
 
 mod_auth_openid.la: libmodauthopenid.la
-	${APXS} -c -o $@ $< ${APACHE_CFLAGS} ${OPKELE_CFLAGS} ${OPKELE_LIBS} \
-			    ${SQLITE3_CFLAGS} ${PCRE_LIBS} ${CURL_LIBS}
+	${APXS} -c -o $@ $< -lstdc++ \
+                ${APACHE_CFLAGS} ${OPKELE_CFLAGS} ${OPKELE_LIBS} \
+		${SQLITE3_CFLAGS} ${PCRE_LIBS} ${CURL_LIBS} -lapr-1 -laprutil-1