mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Fix collision when APACHE_WITH_MODSNMP and APACHE_WITH_IPV6
are selected.
This commit is contained in:
parent
25dc373b47
commit
4a1c09b19e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=96985
@ -15,8 +15,9 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
||||
mod_ssl-${VERSION_MODSSL}-${VERSION_APACHE}${EXTRACT_SUFX}:modssl
|
||||
|
||||
.if defined(APACHE_WITH_MODSNMP) || make(makesum) || defined(FETCH_ALL)
|
||||
PATCH_SITES= http://www.mod-snmp.com/distr/:snmp
|
||||
PATCHFILES= mod_snmp_${VERSION_MODSNMP}.tar.gz:snmp
|
||||
PATCH_SITES= http://www.mod-snmp.com/distr/:modsnmp
|
||||
MODSNMP_FILE= mod_snmp_${VERSION_MODSNMP}.tar.gz
|
||||
PATCHFILES= ${MODSNMP_FILE}:modsnmp
|
||||
EXTRA_PATCH= ${WRKSRC}/src/module/snmp_agt/mod_snmp.patch
|
||||
.endif
|
||||
.if defined(APACHE_WITH_IPV6) || make(makesum) || defined(FETCH_ALL)
|
||||
@ -208,7 +209,7 @@ post-extract:
|
||||
@${SED} -e "s=%%PREFIX%%=${PREFIX}=g" ${FILESDIR}/apache.sh \
|
||||
> ${WRKSRC}/apache.sh
|
||||
.if defined(APACHE_WITH_MODSNMP)
|
||||
(cd ${WRKSRC}; ${TAR} xfz ${DISTDIR}/${PATCHFILES})
|
||||
(cd ${WRKSRC}; ${TAR} xfz ${DISTDIR}/${MODSNMP_FILE})
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
|
Loading…
Reference in New Issue
Block a user