2012-12-12 19:52:04 +00:00
|
|
|
# Created by: Garrett Rooney <rooneg@electricjellyfish.net>
|
2002-03-14 16:39:26 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2002-07-15 17:58:32 +00:00
|
|
|
PORTNAME= apr
|
2008-08-22 18:49:56 +00:00
|
|
|
PORTVERSION= ${APR_VERSION}.${APU_VERSION}
|
2012-12-14 15:06:09 +00:00
|
|
|
PORTREVISION= 3
|
2002-03-14 16:39:26 +00:00
|
|
|
CATEGORIES= devel
|
2004-11-25 04:54:14 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_APACHE}
|
|
|
|
MASTER_SITE_SUBDIR= apr
|
2008-08-22 18:49:56 +00:00
|
|
|
DISTFILES= apr-${APR_VERSION}.tar.gz apr-util-${APU_VERSION}.tar.gz
|
2002-03-14 16:39:26 +00:00
|
|
|
|
2010-04-29 17:30:25 +00:00
|
|
|
MAINTAINER= apache@FreeBSD.org
|
2008-08-22 18:49:56 +00:00
|
|
|
COMMENT= Apache Portability Library
|
2002-03-14 16:39:26 +00:00
|
|
|
|
2012-07-08 16:48:26 +00:00
|
|
|
LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2
|
2002-03-14 16:39:26 +00:00
|
|
|
|
2009-06-08 02:54:14 +00:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2009-05-16 06:27:56 +00:00
|
|
|
|
2012-07-08 18:08:22 +00:00
|
|
|
NO_OPTIONS_SORT=yes
|
2012-12-12 19:52:04 +00:00
|
|
|
OPTIONS_GROUP= APR APU
|
|
|
|
OPTIONS_GROUP_APR= THREADS IPV6 DEVRANDOM
|
2013-01-13 22:26:01 +00:00
|
|
|
OPTIONS_GROUP_APU= BDB GDBM LDAP MYSQL NDBM PGSQL SQLITE FREETDS
|
2012-12-12 19:52:04 +00:00
|
|
|
OPTIONS_RADIO= CRYPTO
|
|
|
|
OPTIONS_RADIO_CRYPTO= SSL
|
|
|
|
OPTIONS_DEFAULT= THREADS IPV6 DEVRANDOM BDB GDBM SSL
|
|
|
|
|
|
|
|
DEVRANDOM_DESC= Use /dev/random or compatible
|
2012-07-08 18:08:22 +00:00
|
|
|
NDBM_DESC= NDBM support
|
2012-12-12 19:52:04 +00:00
|
|
|
SSL_DESC= OpenSSL crypto driver
|
|
|
|
NSS_DESC= NSS crypto driver
|
2012-07-08 16:48:26 +00:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
|
2012-09-02 14:31:58 +00:00
|
|
|
APR_VERSION= 1.4.6
|
|
|
|
APU_VERSION= 1.4.1
|
2008-08-22 18:49:56 +00:00
|
|
|
|
2013-04-27 08:50:46 +00:00
|
|
|
USES= iconv
|
2010-12-04 07:34:27 +00:00
|
|
|
USE_AUTOTOOLS= automake autoconf libtool:env
|
2010-09-11 13:28:57 +00:00
|
|
|
USE_PYTHON_BUILD= -2.7
|
2008-03-31 13:55:58 +00:00
|
|
|
USE_LDCONFIG= yes
|
2004-01-24 03:36:43 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2008-08-22 18:49:56 +00:00
|
|
|
|
2010-05-07 00:39:22 +00:00
|
|
|
CONFIGURE_ENV= CC="${CC}"
|
2009-06-10 05:53:27 +00:00
|
|
|
|
2008-08-22 18:49:56 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
APR_WRKDIR= ${WRKDIR}/apr-${APR_VERSION}
|
|
|
|
APU_WRKDIR= ${WRKDIR}/apr-util-${APU_VERSION}
|
2002-03-14 16:39:26 +00:00
|
|
|
|
2010-05-05 21:40:46 +00:00
|
|
|
PLIST_SUB= SHLIB_APR_MAJOR="${SHLIB_APR_MAJOR}" SHLIB_APU_MAJOR="${SHLIB_APU_MAJOR}"
|
|
|
|
SHLIB_APR_MAJOR= 4
|
2012-09-02 14:31:58 +00:00
|
|
|
SHLIB_APU_MAJOR= 4
|
2008-07-04 19:29:21 +00:00
|
|
|
|
2009-06-11 23:57:09 +00:00
|
|
|
APR_CONF_ARGS= --with-installbuilddir=${DATADIR}/build-1
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
APU_CONF_ARGS= --with-apr=${APR_WRKDIR} \
|
2010-05-07 00:39:22 +00:00
|
|
|
--with-expat=${LOCALBASE} \
|
|
|
|
--with-iconv=${LOCALBASE}
|
2002-12-29 14:46:21 +00:00
|
|
|
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
########## APR Options
|
2012-07-08 16:48:26 +00:00
|
|
|
.if ${PORT_OPTIONS:MTHREADS}
|
|
|
|
APR_CONF_ARGS+= --enable-threads
|
|
|
|
.else
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
APR_CONF_ARGS+= --disable-threads
|
2004-02-01 08:07:50 +00:00
|
|
|
.endif
|
|
|
|
|
2012-07-08 16:48:26 +00:00
|
|
|
.if ${PORT_OPTIONS:MIPV6}
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
APR_CONF_ARGS+= --enable-ipv6
|
2012-07-08 16:48:26 +00:00
|
|
|
.else
|
|
|
|
APR_CONF_ARGS+= --disable-ipv6
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
.endif
|
|
|
|
|
2012-07-08 16:48:26 +00:00
|
|
|
.if ${PORT_OPTIONS:MDEVRANDOM}
|
2010-05-07 02:26:46 +00:00
|
|
|
APR_CONF_ARGS+= --with-devrandom
|
2012-07-08 16:48:26 +00:00
|
|
|
.else
|
|
|
|
APR_CONF_ARGS+= --without-devrandom
|
2010-05-07 02:26:46 +00:00
|
|
|
.endif
|
|
|
|
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
######### APR-Util Options
|
2012-07-08 16:48:26 +00:00
|
|
|
.if ${PORT_OPTIONS:MGDBM}
|
2009-06-08 02:54:14 +00:00
|
|
|
PLIST_SUB+= GDBM=""
|
2009-06-17 23:11:19 +00:00
|
|
|
APU_EXTRAS= yes
|
2012-07-08 16:48:26 +00:00
|
|
|
LIB_DEPENDS+= gdbm:${PORTSDIR}/databases/gdbm
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
APU_CONF_ARGS+= --with-gdbm=${LOCALBASE}
|
2012-07-08 16:48:26 +00:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= GDBM="@comment "
|
|
|
|
APU_CONF_ARGS+= --without-gdbm
|
2006-04-06 10:37:17 +00:00
|
|
|
.endif
|
|
|
|
|
2012-07-08 16:48:26 +00:00
|
|
|
.if ${PORT_OPTIONS:MBDB}
|
2009-06-08 02:54:14 +00:00
|
|
|
APU_EXTRAS= yes
|
|
|
|
PLIST_SUB+= BDB=""
|
2006-04-06 10:37:17 +00:00
|
|
|
USE_BDB= 42+
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
APU_CONF_ARGS+= --with-berkeley-db=${BDB_INCLUDE_DIR}:${BDB_LIB_DIR}
|
2012-07-08 16:48:26 +00:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= BDB="@comment "
|
|
|
|
APU_CONF_ARGS+= --without-berkeley-db
|
2003-11-09 00:57:38 +00:00
|
|
|
.endif
|
2004-02-01 08:07:50 +00:00
|
|
|
|
2012-07-08 16:48:26 +00:00
|
|
|
.if ${PORT_OPTIONS:MNDBM}
|
2009-06-08 02:54:14 +00:00
|
|
|
APU_EXTRAS= yes
|
|
|
|
PLIST_SUB+= NDBM=""
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
APU_CONF_ARGS+= --with-ndbm=/usr
|
2010-05-07 00:39:22 +00:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= NDBM="@comment "
|
|
|
|
APU_CONF_ARGS+= --without-ndbm
|
2008-08-22 18:49:56 +00:00
|
|
|
.endif
|
|
|
|
|
2012-07-08 16:48:26 +00:00
|
|
|
.if ${PORT_OPTIONS:MLDAP}
|
2009-06-08 02:54:14 +00:00
|
|
|
APU_EXTRAS= yes
|
2008-07-29 14:04:32 +00:00
|
|
|
PLIST_SUB+= LDAP=""
|
2004-10-12 22:41:44 +00:00
|
|
|
USE_OPENLDAP= yes
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
APU_CONF_ARGS+= --with-ldap-include=${LOCALBASE}/include \
|
2008-07-04 19:29:21 +00:00
|
|
|
--with-ldap-lib=${LOCALBASE}/lib --with-ldap=ldap
|
2008-07-29 14:04:32 +00:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= LDAP="@comment "
|
2010-05-07 00:39:22 +00:00
|
|
|
APU_CONF_ARGS+= --without-ldap
|
2004-10-12 22:41:44 +00:00
|
|
|
.endif
|
|
|
|
|
2013-01-13 22:26:01 +00:00
|
|
|
.if ${PORT_OPTIONS:MFREETDS}
|
|
|
|
APU_EXTRAS= yes
|
|
|
|
PLIST_SUB+= FREETDS=""
|
|
|
|
APU_CONF_ARGS+= --with-freetds=${LOCALBASE}
|
2013-03-26 09:06:12 +00:00
|
|
|
LIB_DEPENDS+= sybdb:${PORTSDIR}/databases/freetds
|
2013-01-13 22:26:01 +00:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= FREETDS="@comment "
|
|
|
|
APU_CONF_ARGS+= --without-freetds
|
|
|
|
.endif
|
|
|
|
|
2012-07-08 16:48:26 +00:00
|
|
|
.if ${PORT_OPTIONS:MMYSQL}
|
2009-06-08 02:54:14 +00:00
|
|
|
APU_EXTRAS= yes
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
PLIST_SUB+= MYSQL=""
|
|
|
|
USE_MYSQL= YES
|
|
|
|
APU_CONF_ARGS+= --with-mysql=${LOCALBASE}
|
|
|
|
CONFIGURE_ENV+= LIBS="${LIBS}"
|
2010-05-05 22:24:51 +00:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/mysql -DHAVE_MYSQL_H
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib/mysql
|
2004-02-01 08:07:50 +00:00
|
|
|
.else
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
PLIST_SUB+= MYSQL="@comment "
|
2010-05-07 00:39:22 +00:00
|
|
|
APU_CONF_ARGS+= --without-mysql
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
.endif
|
|
|
|
|
2012-07-08 16:48:26 +00:00
|
|
|
.if ${PORT_OPTIONS:MPGSQL}
|
2009-06-08 02:54:14 +00:00
|
|
|
APU_EXTRAS= yes
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
PLIST_SUB+= PGSQL=""
|
|
|
|
USE_PGSQL= YES
|
|
|
|
APU_CONF_ARGS+= --with-pgsql=${LOCALBASE}
|
|
|
|
CONFIGURE_ENV+= ac_cv_path_PGSQL_CONFIG=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= PGSQL="@comment "
|
2010-05-07 00:39:22 +00:00
|
|
|
APU_CONF_ARGS+= --without-pgsql
|
2003-11-09 00:57:38 +00:00
|
|
|
.endif
|
|
|
|
|
2012-07-08 16:48:26 +00:00
|
|
|
.if ${PORT_OPTIONS:MSQLITE}
|
2009-12-24 19:49:51 +00:00
|
|
|
APU_EXTRAS= yes
|
|
|
|
PLIST_SUB+= SQLITE3=""
|
|
|
|
USE_SQLITE= YES
|
2010-04-29 18:01:01 +00:00
|
|
|
APU_CONF_ARGS+= --with-sqlite3=${LOCALBASE}
|
2009-12-24 19:49:51 +00:00
|
|
|
.else
|
2010-04-29 18:01:01 +00:00
|
|
|
APU_CONF_ARGS+= --without-sqlite3
|
2009-12-24 19:49:51 +00:00
|
|
|
PLIST_SUB+= SQLITE3="@comment "
|
|
|
|
.endif
|
|
|
|
|
2012-12-12 19:52:04 +00:00
|
|
|
# crypto (apache24)
|
|
|
|
.if ${PORT_OPTIONS:MSSL} || ${PORT_OPTIONS:MNSS}
|
|
|
|
APU_CONF_ARGS+= --with-crypto
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MSSL}
|
2012-12-14 15:06:09 +00:00
|
|
|
APU_EXTRAS= yes
|
2012-12-12 19:52:04 +00:00
|
|
|
USE_OPENSSL= yes
|
|
|
|
PLIST_SUB+= SSL=""
|
|
|
|
CFLAGS+= -I${OPENSSLINC}
|
|
|
|
LDFLAGS+= -L${OPENSSLLIB}
|
|
|
|
APU_CONF_ARGS+= --with-openssl=${OPENSSLBASE}
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= SSL="@comment "
|
|
|
|
APU_CONF_ARGS+= --without-openssl
|
|
|
|
.endif
|
|
|
|
|
|
|
|
# TODO figure out why nss flag is ignored if ssl is set
|
|
|
|
# this works on other OS as expected
|
|
|
|
.if ${PORT_OPTIONS:MNSS}
|
2012-12-14 15:06:09 +00:00
|
|
|
APU_EXTRAS= yes
|
2012-12-12 19:52:04 +00:00
|
|
|
PLIST_SUB+= NSS=""
|
|
|
|
LIB_DEPENDS+= nss3:${PORTSDIR}/security/nss
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include/nss
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib/nss
|
|
|
|
APU_CONF_ARGS+= --with-nss=${LOCALBASE}
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= NSS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2009-06-08 02:54:14 +00:00
|
|
|
.if defined(APU_EXTRAS)
|
|
|
|
PLIST_SUB+= APU_EXTRAS=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= APU_EXTRAS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2013-01-13 22:26:01 +00:00
|
|
|
post-patch: .SILENT
|
2010-05-07 00:39:22 +00:00
|
|
|
${REINPLACE_CMD} -e 's/OSVERSION/${OSVERSION}/g' \
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
${APR_WRKDIR}/build/apr_hints.m4
|
2009-06-10 05:53:27 +00:00
|
|
|
${FIND} ${APR_WRKDIR} ${APU_WRKDIR} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
|
2004-11-25 04:54:14 +00:00
|
|
|
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
|
2010-05-18 05:44:56 +00:00
|
|
|
${REINPLACE_CMD} -e '1 s/python/${PYTHON_VERSION}/' \
|
|
|
|
${APR_WRKDIR}/build/gen-build.py
|
2012-01-23 22:48:54 +00:00
|
|
|
${REINPLACE_CMD} -e 's/void main/int main/' ${APR_WRKDIR}/build/apr_network.m4
|
2013-02-19 21:54:07 +00:00
|
|
|
# Fix pthread: Please do not remove, else apr-1-config returns wrong values
|
|
|
|
${REINPLACE_CMD} -e 's/-lpthread/-pthread/g' \
|
|
|
|
${APR_WRKDIR}/build/apr_threads.m4 ${APR_WRKDIR}/build/apr_hints.m4 \
|
|
|
|
${APU_WRKDIR}/build/apu-conf.m4
|
2004-01-14 14:45:24 +00:00
|
|
|
|
2005-11-19 06:02:20 +00:00
|
|
|
run-autotools::
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
cd ${APR_WRKDIR} ; \
|
2006-02-28 05:56:43 +00:00
|
|
|
${SETENV} ${CONFIGURE_ENV} ${SH} ./buildconf
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
cd ${APU_WRKDIR} ; \
|
2006-02-28 05:56:43 +00:00
|
|
|
${RM} -fr xml/expat
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
cd ${APU_WRKDIR} ; \
|
2006-02-28 05:56:43 +00:00
|
|
|
${SETENV} ${CONFIGURE_ENV} ${SH} ./buildconf \
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
--with-apr=${APR_WRKDIR}
|
2011-04-01 11:45:59 +00:00
|
|
|
${REINPLACE_CMD} -e 's/ gsed//g' \
|
|
|
|
${APR_WRKDIR}/build/libtool.m4 \
|
|
|
|
${APR_WRKDIR}/configure
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
cd ${APR_WRKDIR}; \
|
|
|
|
${SETENV} ${CONFIGURE_ENV} ${SH} \
|
|
|
|
./configure ${CONFIGURE_ARGS} ${APR_CONF_ARGS}
|
|
|
|
cd ${APU_WRKDIR}; \
|
2010-10-05 23:13:42 +00:00
|
|
|
${SETENV} ${CONFIGURE_ENV} CFLAGS="${CFLAGS}" ${SH} \
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
./configure ${CONFIGURE_ARGS} ${APU_CONF_ARGS}
|
2002-03-14 16:39:26 +00:00
|
|
|
|
2004-03-15 14:07:47 +00:00
|
|
|
do-configure:
|
|
|
|
${DO_NADA}
|
|
|
|
|
2002-03-14 16:39:26 +00:00
|
|
|
do-build:
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
cd ${APR_WRKDIR}; ${SETENV} ${MAKE_ENV} ${MAKE}
|
|
|
|
cd ${APU_WRKDIR}; ${SETENV} ${MAKE_ENV} ${MAKE}
|
2002-03-14 16:39:26 +00:00
|
|
|
|
|
|
|
do-install:
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
cd ${APR_WRKDIR}; ${SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_TARGET}
|
|
|
|
cd ${APU_WRKDIR}; ${SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_TARGET}
|
2002-03-14 16:39:26 +00:00
|
|
|
|
2011-05-22 21:31:16 +00:00
|
|
|
test: build
|
2012-09-02 14:31:58 +00:00
|
|
|
-@(cd ${APR_WRKDIR}; ${MAKE} test)
|
|
|
|
-@(cd ${APU_WRKDIR}; ${MAKE} test)
|
2011-05-22 21:31:16 +00:00
|
|
|
|
|
|
|
#regression-test: test
|
|
|
|
|
2004-04-10 17:34:39 +00:00
|
|
|
debug_autoconf:
|
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
defaults changed: WITH_BDB=yes [1]
convert APR_UTIL_* flags to KNOBS flag names
optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
(sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
GMAKE is not needed, so remove it
split ./configure args into apr and apr-util args, they do not accept all the same options
standardize on naming apr and apu to match other oses and the C code.
create APR_WRKDIR And APU_WRKDIR for simplicity
delete pre-extract target
bump PORTREVISION
NOTE: port still breaks hier(7), need to fix
o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
devel/apr-svn -> devel/apr
(subversion will pull in devel/apr)
Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
[devel/apr-0,] devel/apr-1, devel/apr-2
Helpful for PRs: ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs: ports/126053 [1]
Requeted by: many on ports@, many on #bsdports [1]
Exp Run by : pav
2009-01-18 19:43:53 +00:00
|
|
|
@${ECHO} "LIBTOOL: ${LIBTOOL_VERSION}"
|
|
|
|
@${ECHO} "AUTOCONF: dev ${dev_acver} cur ${cur_acver} use ${use_acver}"
|
|
|
|
@${ECHO} "AUTOMAKE: dev ${dev_amver} cur ${cur_amver} use ${use_amver}"
|
|
|
|
@${ECHO} "AUTOCONF_DIR: ${AUTOCONF_DIR}"
|
|
|
|
@${ECHO} "BUILD_DEPENDS: ${BUILD_DEPENDS}"
|
|
|
|
@${ECHO} "ACLOCAL_DIR: ${ACLOCAL_DIR}"
|
|
|
|
@${ECHO} "LIBTOOLFILES: ${LIBTOOLFILES}"
|
|
|
|
@${ECHO} "LIBTOOL_SHAREDIR: ${LIBTOOL_SHAREDIR}"
|
|
|
|
@${ECHO} "LIBTOOL_LIBEXECDIR: ${LIBTOOL_LIBEXECDIR}"
|
|
|
|
@${ECHO} "LIBTOOL_M4: ${LIBTOOL_M4}"
|
|
|
|
@${ECHO} "${SETENV} ${CONFIGURE_ENV} ${SH} ./configure ${CONFIGURE_ARGS} ${APR_CONF_ARGS}"
|
2010-10-05 23:13:42 +00:00
|
|
|
@${ECHO} "${SETENV} ${CONFIGURE_ENV} CFLAGS="${CFLAGS}" ${SH} ./configure ${CONFIGURE_ARGS} ${APR_UTIL_CONF_ARGS}"
|
2004-04-10 17:34:39 +00:00
|
|
|
|
2009-06-10 05:53:27 +00:00
|
|
|
.include <bsd.port.mk>
|