Changeset View
Changeset View
Standalone View
Standalone View
head/devel/apr1/Makefile
# Created by: Garrett Rooney <rooneg@electricjellyfish.net> | # Created by: Garrett Rooney <rooneg@electricjellyfish.net> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= apr | PORTNAME= apr | ||||
PORTVERSION= ${APR_VERSION}.${APU_VERSION} | PORTVERSION= ${APR_VERSION}.${APU_VERSION} | ||||
PORTREVISION= 1 | |||||
CATEGORIES= devel | CATEGORIES= devel | ||||
MASTER_SITES= APACHE/apr | MASTER_SITES= APACHE/apr | ||||
DISTFILES= apr-${APR_VERSION}.tar.gz \ | DISTFILES= apr-${APR_VERSION}.tar.gz \ | ||||
apr-util-${APU_VERSION}.tar.gz | apr-util-${APU_VERSION}.tar.gz | ||||
MAINTAINER= apache@FreeBSD.org | MAINTAINER= apache@FreeBSD.org | ||||
COMMENT= Apache Portability Library | COMMENT= Apache Portability Library | ||||
LICENSE= APACHE20 | LICENSE= APACHE20 | ||||
LIB_DEPENDS= libexpat.so:textproc/expat2 | LIB_DEPENDS= libexpat.so:textproc/expat2 | ||||
USES= iconv pathfix libtool cpe | USES= iconv pathfix libtool cpe | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
APR_VERSION= 1.6.3 | APR_VERSION= 1.6.5 | ||||
APU_VERSION= 1.6.1 | APU_VERSION= 1.6.1 | ||||
CPE_VENDOR= apache | CPE_VENDOR= apache | ||||
CPE_PRODUCT= apr-util | CPE_PRODUCT= apr-util | ||||
CPE_VERSION= ${APU_VERSION} | CPE_VERSION= ${APU_VERSION} | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
OPTIONS_GROUP= APU | OPTIONS_GROUP= APU | ||||
▲ Show 20 Lines • Show All 83 Lines • ▼ Show 20 Lines | |||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if ${PORT_OPTIONS:MSSL} || ${PORT_OPTIONS:MNSS} | .if ${PORT_OPTIONS:MSSL} || ${PORT_OPTIONS:MNSS} | ||||
APU_CONF_ARGS+= --with-crypto | APU_CONF_ARGS+= --with-crypto | ||||
.else | .else | ||||
APU_CONF_ARGS+= --without-crypto | APU_CONF_ARGS+= --without-crypto | ||||
.endif | .endif | ||||
.include <bsd.port.pre.mk> | |||||
.if ${PORT_OPTIONS:MMYSQL} && ${MYSQL_VER} == 80 | |||||
BROKEN= Does not build with MySQL 8.0, see https://bz.apache.org/bugzilla/show_bug.cgi?id=62631 | |||||
.endif | |||||
post-extract: | post-extract: | ||||
# cleanup files not used on this platform | # cleanup files not used on this platform | ||||
@${FIND} ${WRKDIR} -type f \( -name 'NWGNU*' -o -name '*.ds?' -o -name '*.dep' -o -name '*.mak' -o -name '*.win' \) -delete | @${FIND} ${WRKDIR} -type f \( -name 'NWGNU*' -o -name '*.ds?' -o -name '*.dep' -o -name '*.mak' -o -name '*.win' \) -delete | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's/OSVERSION/${OSVERSION}/g' \ | @${REINPLACE_CMD} -e 's/OSVERSION/${OSVERSION}/g' \ | ||||
${APR_WRKDIR}/configure | ${APR_WRKDIR}/configure | ||||
@${REINPLACE_CMD} -e '/recursive:/s/$$/ .MAKE/' \ | @${REINPLACE_CMD} -e '/recursive:/s/$$/ .MAKE/' \ | ||||
Show All 34 Lines | |||||
#regression-test: test | #regression-test: test | ||||
rpfl: configure | rpfl: configure | ||||
# maintainer only: strip PID from logs (better compare) | # maintainer only: strip PID from logs (better compare) | ||||
${SED} -i '' -E 's|^configure:[0-9]+:|configure:_pid_:|g' ${APR_WRKDIR}/config.log | ${SED} -i '' -E 's|^configure:[0-9]+:|configure:_pid_:|g' ${APR_WRKDIR}/config.log | ||||
${SED} -i '' -E 's|^configure:[0-9]+:|configure:_pid_:|g' ${APU_WRKDIR}/config.log | ${SED} -i '' -E 's|^configure:[0-9]+:|configure:_pid_:|g' ${APU_WRKDIR}/config.log | ||||
.include <bsd.port.mk> | .include <bsd.port.post.mk> |