1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

- fix build for ports defining USE_APACHE=22, USE_APACHE_(BUILD|RUN)=22

spotted by adam@
This commit is contained in:
Olli Hauer 2014-09-07 15:58:05 +00:00
parent 5d2719f2b5
commit bd6f9906a6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=367561

View File

@ -288,8 +288,9 @@ APACHE_MPM!= ${APXS} -q MPM_NAME
. endif
.elif defined(APACHE_PORT)
_APACHE_VERSION!= ${ECHO_CMD} ${APACHE_PORT} | ${SED} -ne 's,.*/apache\([0-9]*\).*,\1,p'
.else
_APACHE_VERSION:= ${DEFAULT_APACHE_VERSION}
#.else
# the next line breaks ports with USE_APACHE(_RUN|_BUILD)=22
#_APACHE_VERSION:= ${DEFAULT_APACHE_VERSION}
.endif
.if defined(USE_APACHE)