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)
This commit is contained in:
Ollivier Robert 2002-05-09 12:19:55 +00:00
parent 4fbe7a7123
commit b0efa84acf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=58801
5 changed files with 15 additions and 0 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)