ports/www/mod_authnz_crowd/files/patch-src__svn__Makefile.am
Olli Hauer 92e47b6c21 - fix build with apache24
- fix build with subversion 1.8.x

PR:		193536
Submitted by:	ohauer
Approved by:	Vick Khera (maintainer)
Obtained from:	https://bitbucket.org/atlassian/cwdapache/pull-request/18/added-apache-24-compatibility-and-fixed/diff [2]
MFH:		2014Q3

[1] fix shaped and tested by Vick Khera
[2] based on
2014-10-14 20:13:30 +00:00

11 lines
544 B
Text

--- src/svn/Makefile.am.orig 2013-07-26 05:20:50 UTC
+++ src/svn/Makefile.am
@@ -1,6 +1,6 @@
lib_LTLIBRARIES = mod_authz_svn_crowd.la
mod_authz_svn_crowd_la_SOURCES = mod_authz_svn_crowd.c
mod_authz_svn_crowd_la_LDFLAGS = -module
-AM_CFLAGS = `apr-1-config --cflags`
+AM_CFLAGS = `apr-1-config --cflags | sed -e 's/O[[:digit:]]/O1/'`
AM_CPPFLAGS = -I@APACHE_INCLUDE_DIR@ `apr-1-config --cppflags --includes` -I@SVN_DIR@/include/subversion-1
-CFLAGS=-g -O1 # -O2 causes mysterious crashes
+#CFLAGS=-g -O1 # -O2 causes mysterious crashes