Changeset View
Changeset View
Standalone View
Standalone View
devel/apr1/Makefile
PORTNAME= apr | PORTNAME= apr | |||||||||
PORTVERSION= ${APR_VERSION}.${APU_VERSION} | PORTVERSION= ${APR_VERSION}.${APU_VERSION} | |||||||||
PORTREVISION= 1 | 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 | |||||||||
WWW= https://apr.apache.org/ | WWW= https://apr.apache.org/ | |||||||||
LICENSE= APACHE20 | LICENSE= APACHE20 | |||||||||
BUILD_DEPENDS+= automake>=1.16.1:devel/automake | ||||||||||
LIB_DEPENDS= libexpat.so:textproc/expat2 | LIB_DEPENDS= libexpat.so:textproc/expat2 | |||||||||
USES= iconv pathfix libtool cpe | USES= autoreconf iconv pathfix libtool cpe | |||||||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | |||||||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | |||||||||
APR_VERSION= 1.7.3 | APR_VERSION= 1.7.3 | |||||||||
APU_VERSION= 1.6.3 | APU_VERSION= 1.6.3 | |||||||||
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 | |||||||||
OPTIONS_DEFINE= IPV6 | OPTIONS_DEFINE= IPV6 | |||||||||
OPTIONS_GROUP_APU= GDBM LDAP MYSQL NDBM ODBC PGSQL SQLITE | OPTIONS_GROUP_APU= GDBM LDAP MYSQL NDBM ODBC PGSQL SQLITE | |||||||||
OPTIONS_RADIO= BERKELEYDB CRYPTO | OPTIONS_RADIO= BERKELEYDB CRYPTO | |||||||||
OPTIONS_RADIO_BERKELEYDB= BDB BDB5 | OPTIONS_RADIO_BERKELEYDB= BDB BDB1 BDB5 | |||||||||
OPTIONS_RADIO_CRYPTO= SSL NSS | OPTIONS_RADIO_CRYPTO= SSL NSS | |||||||||
OPTIONS_DEFAULT= BDB GDBM SSL | OPTIONS_DEFAULT= BDB GDBM SSL | |||||||||
APU_DESC= Database support | APU_DESC= Database support | |||||||||
BDB_DESC= Berkeley DB support (AGPLv3) | BDB_DESC= Berkeley DB support (AGPLv3) | |||||||||
BDB1_DESC= Berkeley DB 1.85 support (BSD 3-clause) | ||||||||||
rfyu28uyeg_snkmail.com: See comments regarding 3 clause vs 4 clause. | ||||||||||
BDB5_DESC= Berkeley DB v5 support (deprecated) | BDB5_DESC= Berkeley DB v5 support (deprecated) | |||||||||
BERKELEYDB_DESC= Berkeley DB provider | BERKELEYDB_DESC= Berkeley DB provider | |||||||||
CRYPTO_DESC= Cryptography provider | CRYPTO_DESC= Cryptography provider | |||||||||
NDBM_DESC= NDBM support | NDBM_DESC= NDBM support | |||||||||
NSS_DESC= NSS crypto driver | NSS_DESC= NSS crypto driver | |||||||||
SSL_DESC= OpenSSL crypto driver | SSL_DESC= OpenSSL crypto driver | |||||||||
# APR-Util Options | # APR-Util Options | |||||||||
Show All 34 Lines | ||||||||||
######### APR-Util Options | ######### APR-Util Options | |||||||||
# make sure 1st include is "${APR_WRKDIR}/include" | # make sure 1st include is "${APR_WRKDIR}/include" | |||||||||
# to avoid failures if previous apr_version.h is present | # to avoid failures if previous apr_version.h is present | |||||||||
APU_CPPFLAGS= -I${APR_WRKDIR}/include | APU_CPPFLAGS= -I${APR_WRKDIR}/include | |||||||||
BDB_VARS= ${BDB5_VARS} \ | BDB_VARS= ${BDB5_VARS} \ | |||||||||
LICENSE_COMB=dual LICENSE+=AGPLv3 | LICENSE_COMB=dual LICENSE+=AGPLv3 | |||||||||
BDB1_VARS= APU_CONF_ARGS+="--with-berkeley-db=/usr/include:/usr/lib \ | ||||||||||
--with-dbm=db1" | ||||||||||
Done Inline Actions
See comments about dual licensing. rfyu28uyeg_snkmail.com: See comments about dual licensing. | ||||||||||
BDB5_VARS= APU_CONF_ARGS+=--with-berkeley-db=${BDB_INCLUDE_DIR}:${BDB_LIB_DIR} | BDB5_VARS= APU_CONF_ARGS+=--with-berkeley-db=${BDB_INCLUDE_DIR}:${BDB_LIB_DIR} | |||||||||
Done Inline ActionsMaybe this should be BDB1_CONFIGURE_ON=--with-dbm=db1 instead of adding a configure arg in BDB1_VARS. rfyu28uyeg_snkmail.com: Maybe this should be BDB1_CONFIGURE_ON=--with-dbm=db1 instead of adding a configure arg in… | ||||||||||
Done Inline ActionsThis is an apr-util specific configure argument -- it shouldn't be passed to apr's configure script. ngie: This is an apr-util specific configure argument -- it shouldn't be passed to apr's configure… | ||||||||||
GDBM_VARS= APU_CONF_ARGS+=--with-gdbm=${LOCALBASE} | GDBM_VARS= APU_CONF_ARGS+=--with-gdbm=${LOCALBASE} | |||||||||
LDAP_VARS= APU_CONF_ARGS+="--with-ldap-include=${LOCALBASE}/include \ | LDAP_VARS= APU_CONF_ARGS+="--with-ldap-include=${LOCALBASE}/include \ | |||||||||
--with-ldap-lib=${LOCALBASE}/lib --with-ldap=ldap" | --with-ldap-lib=${LOCALBASE}/lib --with-ldap=ldap" | |||||||||
MYSQL_VARS= APU_CONF_ARGS+=--with-mysql=${LOCALBASE} \ | MYSQL_VARS= APU_CONF_ARGS+=--with-mysql=${LOCALBASE} \ | |||||||||
APU_CPPFLAGS+="-I${LOCALBASE}/include -I${LOCALBASE}/include/mysql -DHAVE_MYSQL_H" \ | APU_CPPFLAGS+="-I${LOCALBASE}/include -I${LOCALBASE}/include/mysql -DHAVE_MYSQL_H" \ | |||||||||
LIBS+=-L${LOCALBASE}/lib/mysql | LIBS+=-L${LOCALBASE}/lib/mysql | |||||||||
NDBM_VARS= APU_CONF_ARGS+=--with-ndbm=/usr | NDBM_VARS= APU_CONF_ARGS+=--with-ndbm=/usr | |||||||||
NSS_VARS= APU_CONF_ARGS+=--with-nss=${LOCALBASE} \ | NSS_VARS= APU_CONF_ARGS+=--with-nss=${LOCALBASE} \ | |||||||||
Show All 15 Lines | ||||||||||
APR_CONF_ENV+= ${CONFIGURE_ENV:O:u} CC="${CC}" CC_FOR_BUILD="${CC}" \ | APR_CONF_ENV+= ${CONFIGURE_ENV:O:u} CC="${CC}" CC_FOR_BUILD="${CC}" \ | |||||||||
CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" | CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" | |||||||||
# include apu specific CPPFLAGS 1st! | # include apu specific CPPFLAGS 1st! | |||||||||
APU_CONF_ENV+= ${CONFIGURE_ENV:O:u} CC="${CC}" CFLAGS="${CFLAGS}" CPPFLAGS="${APU_CPPFLAGS} ${CPPFLAGS}" | APU_CONF_ENV+= ${CONFIGURE_ENV:O:u} CC="${CC}" CFLAGS="${CFLAGS}" CPPFLAGS="${APU_CPPFLAGS} ${CPPFLAGS}" | |||||||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | |||||||||
.if !${PORT_OPTIONS:MBDB} && !${PORT_OPTIONS:MBDB5} | .if !${PORT_OPTIONS:MBDB} && !${PORT_OPTIONS:MBDB1} && !${PORT_OPTIONS:MBDB5} | |||||||||
APU_CONF_ARGS+= --without-berkeley-db | APU_CONF_ARGS+= --without-berkeley-db | |||||||||
.endif | .endif | |||||||||
.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 | |||||||||
▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines |
See comments regarding 3 clause vs 4 clause.