2002-07-15 17:58:32 +00:00
|
|
|
# New ports collection makefile for: apr
|
2002-03-14 16:39:26 +00:00
|
|
|
# Date created: 19 February 2002
|
|
|
|
# Whom: Garrett Rooney <rooneg@electricjellyfish.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
2002-07-15 17:58:32 +00:00
|
|
|
PORTNAME= apr
|
2008-08-22 18:49:56 +00:00
|
|
|
PORTVERSION= ${APR_VERSION}.${APU_VERSION}
|
2011-05-17 22:29:24 +00:00
|
|
|
PORTREVISION= 1
|
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
|
|
|
|
2010-05-27 03:32:06 +00:00
|
|
|
LIB_DEPENDS= expat.6:${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
|
|
|
|
2010-05-07 00:39:22 +00:00
|
|
|
OPTIONS= THREADS "Enable Threads in apr" on \
|
|
|
|
IPV6 "Enable IPV6 Support in apr" on \
|
|
|
|
BDB "Enable Berkley BDB support in apr-util" on \
|
|
|
|
GDBM "Enable GNU dbm support in apr-util" on \
|
|
|
|
LDAP "Enable LDAP support in apr-util" off \
|
|
|
|
MYSQL "Enable MySQL suport in apr-util" off \
|
|
|
|
NDBM "Enable NDBM support in apr-util" off \
|
|
|
|
PGSQL "Enable Postgresql suport in apr-util" off \
|
2010-05-07 02:26:46 +00:00
|
|
|
SQLITE "Enable SQLite3 support in apr-util" off \
|
2010-05-07 19:55:07 +00:00
|
|
|
DEVRANDOM "Use /dev/random or compatible in apr" on
|
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
|
|
|
|
2011-05-13 23:00:17 +00:00
|
|
|
APR_VERSION= 1.4.4
|
|
|
|
APU_VERSION= 1.3.11
|
2008-08-22 18:49:56 +00:00
|
|
|
|
2004-06-04 17:29:38 +00:00
|
|
|
USE_ICONV= yes
|
2010-12-04 07:34:27 +00:00
|
|
|
USE_AUTOTOOLS= automake autoconf libtool:env
|
2008-03-31 13:55:58 +00:00
|
|
|
USE_PERL5_BUILD= yes
|
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
|
|
|
|
SHLIB_APU_MAJOR= 3
|
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
|
|
|
|
2009-06-10 05:53:27 +00:00
|
|
|
.include <bsd.port.options.mk>
|
2003-11-09 00:57:38 +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
|
|
|
|
.if defined(WITHOUT_THREADS)
|
|
|
|
APR_CONF_ARGS+= --disable-threads
|
2004-02-01 08:07:50 +00:00
|
|
|
.if defined(PKGNAMESUFFIX)
|
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-nothr
|
|
|
|
.else
|
|
|
|
PKGNAMESUFFIX= -nothr
|
|
|
|
.endif
|
2006-02-11 14:42:45 +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
|
|
|
APR_CONF_ARGS+= --enable-threads
|
2004-02-01 08:07:50 +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
|
|
|
.if defined(WITHOUT_IPV6)
|
|
|
|
APR_CONF_ARGS+= --disable-ipv6
|
|
|
|
.else
|
|
|
|
APR_CONF_ARGS+= --enable-ipv6
|
|
|
|
.if defined(PKGNAMESUFFIX)
|
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-ipv6
|
|
|
|
.else
|
|
|
|
PKGNAMESUFFIX= -ipv6
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
2010-05-07 02:26:46 +00:00
|
|
|
.if defined(WITHOUT_DEVRANDOM)
|
|
|
|
APR_CONF_ARGS+= --without-devrandom
|
|
|
|
.else
|
|
|
|
APR_CONF_ARGS+= --with-devrandom
|
|
|
|
.if defined(PKGNAMESUFFIX)
|
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-devrandom
|
|
|
|
.else
|
|
|
|
PKGNAMESUFFIX= -devrandom
|
|
|
|
.endif
|
|
|
|
.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
|
|
|
|
.if defined(WITHOUT_GDBM)
|
2009-06-08 02:54:14 +00:00
|
|
|
PLIST_SUB+= GDBM="@comment "
|
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+= --without-gdbm
|
2010-05-07 00:39:22 +00:00
|
|
|
.else
|
2009-06-08 02:54:14 +00:00
|
|
|
PLIST_SUB+= GDBM=""
|
2009-06-17 23:11:19 +00:00
|
|
|
APU_EXTRAS= yes
|
2003-11-09 00:57:38 +00:00
|
|
|
LIB_DEPENDS+= gdbm.3:${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}
|
2003-11-09 00:57:38 +00:00
|
|
|
.if defined(PKGNAMESUFFIX)
|
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-gdbm
|
|
|
|
.else
|
|
|
|
PKGNAMESUFFIX= -gdbm
|
|
|
|
.endif
|
2006-04-06 10:37:17 +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
|
|
|
.if defined(WITHOUT_BDB)
|
2009-06-08 02:54:14 +00:00
|
|
|
PLIST_SUB+= BDB="@comment "
|
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+= --without-berkeley-db
|
2010-05-07 00:39:22 +00:00
|
|
|
.else
|
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}
|
2003-11-09 00:57:38 +00:00
|
|
|
.if defined(PKGNAMESUFFIX)
|
2006-04-06 10:37:17 +00:00
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-${BDB_INCLUDE_DIR:S,^${LOCALBASE}/include/,,}
|
2003-11-09 00:57:38 +00:00
|
|
|
.else
|
2006-04-06 10:37:17 +00:00
|
|
|
PKGNAMESUFFIX= -${BDB_INCLUDE_DIR:S,^${LOCALBASE}/include/,,}
|
2003-11-09 00:57:38 +00:00
|
|
|
.endif
|
|
|
|
.endif
|
2004-02-01 08:07:50 +00:00
|
|
|
|
2010-05-07 00:39:22 +00:00
|
|
|
.if defined(WITH_NDBM)
|
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
|
|
|
|
.if defined(PKGNAMESUFFIX)
|
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-ndbm
|
|
|
|
.else
|
|
|
|
PKGNAMESUFFIX= -ndbm
|
|
|
|
.endif
|
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
|
|
|
|
|
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
|
|
|
.if defined(WITH_LDAP)
|
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
|
2004-10-12 22:41:44 +00:00
|
|
|
.if defined(PKGNAMESUFFIX)
|
2010-05-05 22:23:06 +00:00
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-ldap${OPENLDAP_VER}
|
2004-10-12 22:41:44 +00:00
|
|
|
.else
|
|
|
|
PKGNAMESUFFIX= -ldap
|
|
|
|
.endif
|
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
|
|
|
|
|
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
|
|
|
.if defined(WITH_MYSQL)
|
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
|
|
|
|
.if defined(PKGNAMESUFFIX)
|
2010-05-05 22:23:06 +00:00
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-mysql${MYSQL_VER}
|
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
|
|
|
PKGNAMESUFFIX= -mysql
|
|
|
|
.endif
|
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
|
|
|
|
|
|
|
|
.if defined(WITH_PGSQL)
|
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=""
|
|
|
|
.if defined(PKGNAMESUFFIX)
|
2010-05-05 22:23:06 +00:00
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-pgsql${PGSQL_VER}
|
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
|
|
|
PKGNAMESUFFIX= -pgsql
|
|
|
|
.endif
|
|
|
|
.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
|
|
|
|
|
2009-12-24 19:49:51 +00:00
|
|
|
.if defined(WITH_SQLITE)
|
|
|
|
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
|
|
|
.if defined(PKGNAMESUFFIX)
|
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-sqlite3
|
|
|
|
.else
|
|
|
|
PKGNAMESUFFIX= -sqlite3
|
|
|
|
.endif
|
|
|
|
.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
|
|
|
|
|
2009-06-08 02:54:14 +00:00
|
|
|
.if defined(APU_EXTRAS)
|
|
|
|
PLIST_SUB+= APU_EXTRAS=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= APU_EXTRAS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2004-11-03 04:19:11 +00:00
|
|
|
post-patch:
|
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'
|
2009-06-10 21:27:34 +00:00
|
|
|
${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},g' \
|
2009-06-10 05:53:27 +00:00
|
|
|
${APR_WRKDIR}/build/apr_threads.m4 ${APR_WRKDIR}/build/apr_hints.m4 \
|
2010-05-05 21:40:46 +00:00
|
|
|
${APU_WRKDIR}/build/apu-conf.m4
|
2010-05-18 05:44:56 +00:00
|
|
|
${REINPLACE_CMD} -e '1 s/python/${PYTHON_VERSION}/' \
|
|
|
|
${APR_WRKDIR}/build/gen-build.py
|
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
|
|
|
|
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>
|