File: apxs-cppflags.patch

package info (click to toggle)
libapache2-mod-defensible 1.4-3.2
  • links: PTS
  • area: main
  • in suites: bullseye, buster
  • size: 1,496 kB
  • sloc: sh: 8,927; ansic: 1,131; makefile: 67
file content (31 lines) | stat: -rw-r--r-- 1,267 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
22
23
24
25
26
27
28
29
30
31
Description: Add APR_INCLUDEDIR and EXTRA_CPPFLAGS to CPPFLAGS
Author: Colin Watson <cjwatson@debian.org>
Forwarded: no
Last-Update: 2013-07-08

Index: b/Makefile.am
===================================================================
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,7 +9,7 @@
 
 mod_defensible_la_SOURCES = $(MODULESOURCES) 
 mod_defensible_la_LDFLAGS = -module `${APXS2} -q LDFLAGS_SHLIB`
-mod_defensible_la_CPPFLAGS = -I`${APXS2} -q INCLUDEDIR` 
+mod_defensible_la_CPPFLAGS = -I`${APXS2} -q INCLUDEDIR` -I`${APXS2} -q APR_INCLUDEDIR` `${APXS2} -q EXTRA_CPPFLAGS`
 mod_defensible_la_CFLAGS = -W -Wall `${APXS2} -q CFLAGS CFLAGS_SHLIB` 
 CC = `${APXS2} -q CC` 
 	   
Index: b/Makefile.in
===================================================================
--- a/Makefile.in
+++ b/Makefile.in
@@ -201,7 +201,7 @@
 lib_LTLIBRARIES = mod_defensible.la 
 mod_defensible_la_SOURCES = $(MODULESOURCES) 
 mod_defensible_la_LDFLAGS = -module `${APXS2} -q LDFLAGS_SHLIB`
-mod_defensible_la_CPPFLAGS = -I`${APXS2} -q INCLUDEDIR` 
+mod_defensible_la_CPPFLAGS = -I`${APXS2} -q INCLUDEDIR` -I`${APXS2} -q APR_INCLUDEDIR` `${APXS2} -q EXTRA_CPPFLAGS`
 mod_defensible_la_CFLAGS = -W -Wall `${APXS2} -q CFLAGS CFLAGS_SHLIB` 
 all: config.h
 	$(MAKE) $(AM_MAKEFLAGS) all-am