mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
- USE_APACHE=yes is deprecated
- Convert to AP_FAST_BUILD/AP_GENPLIST PR: ports/133685 Approved by: maintainer timeout (30 days) Submitted by: me
This commit is contained in:
parent
848f0dae36
commit
734d765cfe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=233430
@ -16,18 +16,17 @@ EXTRACT_SUFX= .c
|
||||
MAINTAINER= anders@FreeBSD.org
|
||||
COMMENT= Apache module that adds a client IP header to outgoing proxy requests
|
||||
|
||||
USE_APACHE= yes
|
||||
NO_WRKSUBDIR= YES
|
||||
USE_APACHE= 1.3
|
||||
AP_FAST_BUILD= yes
|
||||
AP_GENPLIST= yes
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
do-extract:
|
||||
@${MKDIR} ${WRKDIR}
|
||||
@${MKDIR} ${WRKDIR}/
|
||||
@${CP} -p ${DISTDIR}/${DISTFILES} ${WRKDIR}/${PORTNAME}.c
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.so
|
||||
post-install:
|
||||
@${ECHO} "================================================================================"
|
||||
@${ECHO} "Enable mod_proxy_add_forward in Apache's config manually."
|
||||
@${ECHO} "================================================================================"
|
||||
|
@ -1,3 +0,0 @@
|
||||
libexec/apache/mod_proxy_add_forward.so
|
||||
@exec %D/sbin/apxs -e -A -n proxy_add_forward %D/%F
|
||||
@unexec %D/sbin/apxs -e -A -n proxy_add_forward %D/%F
|
Loading…
Reference in New Issue
Block a user