mirror of
https://git.freebsd.org/ports.git
synced 2025-06-09 14:50:31 -04:00
- 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
11 lines
544 B
Text
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
|