- Add WITHOUT_APACHE_EXPAT knob.
It ensures to link with expat when apache isn't built with its own expat Noticed by: Nik Clayton <nik _at_ crf-consulting _dot_ co _dot_ uk> PR: ports/71988
This commit is contained in:
parent
01ab3fff1d
commit
c8ff4a485b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119181
1 changed files with 5 additions and 0 deletions
|
@ -35,6 +35,11 @@ CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|||
--includedir=${PREFIX}/include/apache \
|
||||
--with-apxs=${APXS}
|
||||
|
||||
.if defined(WITHOUT_APACHE_EXPAT)
|
||||
CONFIGURE_ARGS+= --with-expat=${LOCALBASE}
|
||||
LIB_DEPENDS+= expat.5:${PORTSDIR}/textproc/expat2
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV= CFLAGS='${CFLAGS}' \
|
||||
PATH="${PREFIX}/bin:${PREFIX}/sbin:${PATH}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue