mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
support appache13-modssl by defining APACHE_PORT in /etc/make.conf
others variants of the apache ports can be used too. Approved by: dirk
This commit is contained in:
parent
ae5c167b2d
commit
c344a550c6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=66038
@ -27,8 +27,8 @@ PATCHFILES= mime.c.diff-3.0.gz
|
||||
MAINTAINER= dirk@FreeBSD.org
|
||||
|
||||
.if !defined(STANDALONE)
|
||||
BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
|
||||
RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
|
||||
BUILD_DEPENDS= ${APXS}:${APACHE_PORT}
|
||||
RUN_DEPENDS= ${APXS}:${APACHE_PORT}
|
||||
.endif
|
||||
|
||||
PATCH_DIST_ARGS= -d ${WRKSRC}/functions
|
||||
@ -36,6 +36,8 @@ PATCH_DIST_ARGS= -d ${WRKSRC}/functions
|
||||
PHP_DISTDIR= distributions
|
||||
|
||||
SLAVEDIRS= lang/php3
|
||||
APACHE_PORT?= ${PORTSDIR}/www/apache13
|
||||
APXS?= ${LOCALBASE}/sbin/apxs
|
||||
|
||||
USE_SUBMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
@ -23,13 +23,10 @@ DISTNAME= php-${PORTVERSION}
|
||||
MAINTAINER= dirk@FreeBSD.org
|
||||
|
||||
.if !defined(STANDALONE)
|
||||
BUILD_DEPENDS= ${APXS}:${APACHE_PORT}
|
||||
RUN_DEPENDS= ${APXS}:${APACHE_PORT}
|
||||
.if defined(WITH_APACHE2)
|
||||
BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
|
||||
RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
|
||||
LIB_DEPENDS= pth.14:${PORTSDIR}/devel/pth
|
||||
.else
|
||||
BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
|
||||
RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
|
||||
.endif
|
||||
.endif
|
||||
|
||||
@ -40,6 +37,12 @@ SLAVEDIRS= lang/php4
|
||||
USE_BZIP2= yes
|
||||
USE_SUBMAKE= yes
|
||||
USE_AUTOCONF_VER=213
|
||||
.if defined(WITH_APACHE2)
|
||||
APACHE_PORT?= ${PORTSDIR}/www/apache2
|
||||
.else
|
||||
APACHE_PORT?= ${PORTSDIR}/www/apache13
|
||||
.endif
|
||||
APXS?= ${LOCALBASE}/sbin/apxs
|
||||
|
||||
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
|
||||
IS_INTERACTIVE= yes
|
||||
|
@ -23,13 +23,10 @@ DISTNAME= php-${PORTVERSION}
|
||||
MAINTAINER= dirk@FreeBSD.org
|
||||
|
||||
.if !defined(STANDALONE)
|
||||
BUILD_DEPENDS= ${APXS}:${APACHE_PORT}
|
||||
RUN_DEPENDS= ${APXS}:${APACHE_PORT}
|
||||
.if defined(WITH_APACHE2)
|
||||
BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
|
||||
RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
|
||||
LIB_DEPENDS= pth.14:${PORTSDIR}/devel/pth
|
||||
.else
|
||||
BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
|
||||
RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
|
||||
.endif
|
||||
.endif
|
||||
|
||||
@ -40,6 +37,12 @@ SLAVEDIRS= lang/php4
|
||||
USE_BZIP2= yes
|
||||
USE_SUBMAKE= yes
|
||||
USE_AUTOCONF_VER=213
|
||||
.if defined(WITH_APACHE2)
|
||||
APACHE_PORT?= ${PORTSDIR}/www/apache2
|
||||
.else
|
||||
APACHE_PORT?= ${PORTSDIR}/www/apache13
|
||||
.endif
|
||||
APXS?= ${LOCALBASE}/sbin/apxs
|
||||
|
||||
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
|
||||
IS_INTERACTIVE= yes
|
||||
|
Loading…
Reference in New Issue
Block a user