mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Back out last commit (autodetection of apache2) for now.
It's causing too many problems due to inclusion of bsd.port.pre.mk/ bsd.port.post.mk and Makefile.inc. This needs further investigation. Reported by: many
This commit is contained in:
parent
1b3325c535
commit
3a0f8513a1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70898
@ -37,12 +37,6 @@ SLAVEDIRS= lang/php4
|
||||
USE_BZIP2= yes
|
||||
USE_SUBMAKE= yes
|
||||
USE_AUTOCONF_VER=213
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.if exists(${LOCALBASE}/include/apache2/apr.h)
|
||||
WITH_APACHE2= yes
|
||||
.endif
|
||||
|
||||
.if defined(WITH_APACHE2)
|
||||
APACHE_PORT?= ${PORTSDIR}/www/apache2
|
||||
.else
|
||||
@ -91,14 +85,9 @@ SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
|
||||
|
||||
pre-fetch:
|
||||
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php
|
||||
.if !defined(STANDALONE)
|
||||
.if !defined(WITH_APACHE2)
|
||||
.if !defined(STANDALONE) && !defined(WITH_APACHE2)
|
||||
@${ECHO_CMD} "Define WITH_APACHE2 to build mod_php4 as an apache2 module."
|
||||
@${ECHO_CMD} ""
|
||||
.else
|
||||
@${ECHO_CMD} "Building mod_php4 as an apache2 module."
|
||||
@${ECHO_CMD} ""
|
||||
.endif
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@ -131,4 +120,4 @@ post-clean:
|
||||
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -37,12 +37,6 @@ SLAVEDIRS= lang/php4
|
||||
USE_BZIP2= yes
|
||||
USE_SUBMAKE= yes
|
||||
USE_AUTOCONF_VER=213
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.if exists(${LOCALBASE}/include/apache2/apr.h)
|
||||
WITH_APACHE2= yes
|
||||
.endif
|
||||
|
||||
.if defined(WITH_APACHE2)
|
||||
APACHE_PORT?= ${PORTSDIR}/www/apache2
|
||||
.else
|
||||
@ -91,14 +85,9 @@ SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
|
||||
|
||||
pre-fetch:
|
||||
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php
|
||||
.if !defined(STANDALONE)
|
||||
.if !defined(WITH_APACHE2)
|
||||
.if !defined(STANDALONE) && !defined(WITH_APACHE2)
|
||||
@${ECHO_CMD} "Define WITH_APACHE2 to build mod_php4 as an apache2 module."
|
||||
@${ECHO_CMD} ""
|
||||
.else
|
||||
@${ECHO_CMD} "Building mod_php4 as an apache2 module."
|
||||
@${ECHO_CMD} ""
|
||||
.endif
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@ -131,4 +120,4 @@ post-clean:
|
||||
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user