aboutsummaryrefslogtreecommitdiff
path: root/devel/apr2
diff options
context:
space:
mode:
authorOllivier Robert <roberto@FreeBSD.org>2002-05-09 12:19:55 +0000
committerOllivier Robert <roberto@FreeBSD.org>2002-05-09 12:19:55 +0000
commitb0efa84acf57e198680441da1f347a75bf094d4f (patch)
tree465a16bd32efa6f2f93282b98e357270dbfaa5a2 /devel/apr2
parent4fbe7a7123605f5a463e6a5d127621f946f59398 (diff)
downloadports-b0efa84acf57e198680441da1f347a75bf094d4f.tar.gz
ports-b0efa84acf57e198680441da1f347a75bf094d4f.zip
Add a rather ugly hack to work around problems compiling this port when a
older, incompatable version of apr is installed into ${PREFIX}. I've sent a mail about the problem to dev@apr.apache.org, so hopefully this will be worked out before the next time I update this package, and I'll be able to get rid of this hack. Submitted by: Garrett Rooney <rooneg@electricjellyfish.net> (MAINTAINER)
Notes
Notes: svn path=/head/; revision=58801
Diffstat (limited to 'devel/apr2')
-rw-r--r--devel/apr2/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/devel/apr2/Makefile b/devel/apr2/Makefile
index 0807e4503287..2a379aa25ce9 100644
--- a/devel/apr2/Makefile
+++ b/devel/apr2/Makefile
@@ -25,6 +25,9 @@ pre-fetch:
${SH} pkg-install apr-devel PRE-INSTALL
pre-configure:
+ (find ${WRKDIR}/apr-util/ -name Makefile.in -exec \
+ ${PERL} -pi -e 's/\@APRUTIL_INCLUDES\@ \@APRUTIL_PRIV_INCLUDES\@/\@APRUTIL_PRIV_INCLUDES\@ \@APRUTIL_INCLUDES\@/g' \{\} \;)
+
(cd ${WRKDIR}/apr/ && ./buildconf)
(cd ${WRKDIR}/apr-util/ && ./buildconf)