2013-09-20 19:03:26 +02:00
|
|
|
# Created by: Garrett Rooney <rooneg@electricjellyfish.net>
|
2002-03-14 17:39:26 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2002-07-15 19:58:32 +02:00
|
|
|
PORTNAME= apr
|
2010-06-11 02:48:08 +02:00
|
|
|
PORTVERSION= 2.0.${SNAPDATE}
|
2011-09-12 15:46:58 +02:00
|
|
|
PORTREVISION= 2
|
2002-03-14 17:39:26 +01:00
|
|
|
CATEGORIES= devel
|
2011-08-21 20:03:43 +02:00
|
|
|
MASTER_SITES= http://svn-master.apache.org/snapshots/apr/
|
2010-06-02 00:35:25 +02:00
|
|
|
DISTNAME= ${PORTNAME}_${SNAPDATE}
|
2002-03-14 17:39:26 +01:00
|
|
|
|
2010-04-29 19:30:25 +02:00
|
|
|
MAINTAINER= apache@FreeBSD.org
|
2008-08-22 20:49:56 +02:00
|
|
|
COMMENT= Apache Portability Library
|
2002-03-14 17:39:26 +01:00
|
|
|
|
2012-07-08 20:09:03 +02:00
|
|
|
LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2
|
2002-03-14 17:39:26 +01:00
|
|
|
|
2010-06-11 02:48:08 +02:00
|
|
|
NO_LATEST_LINK= yes
|
2010-06-03 05:46:01 +02:00
|
|
|
|
2011-08-21 20:03:43 +02:00
|
|
|
SNAPDATE= 20110821151329
|
2010-06-02 00:35:25 +02:00
|
|
|
|
2009-05-16 08:27:56 +02:00
|
|
|
|
2012-07-08 20:09:03 +02:00
|
|
|
NO_OPTIONS_SORT=yes
|
|
|
|
OPTIONS_DEFINE= THREADS IPV6 DEVRANDOM BDB GDBM MYSQL NDBM PGSQL SQLITE DEVELOPER_ONLY
|
|
|
|
OPTIONS_DEFAULT=THREADS IPV6 DEVRANDOM BDB GDBM
|
|
|
|
|
|
|
|
NDBM_DESC= NDBM support in apr-util
|
|
|
|
DEVRANDOM_DESC= Use /dev/random or compatible
|
|
|
|
DEVELOPER_ONLY_DESC= I want to test apr2 not the maintainer
|
|
|
|
|
2013-09-20 19:03:26 +02:00
|
|
|
NO_STAGE= yes
|
2012-07-08 20:09:03 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2008-08-22 20:49:56 +02:00
|
|
|
|
2013-09-16 12:28:33 +02:00
|
|
|
USES= iconv perl5
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= automake autoconf libtool:env
|
2013-09-16 12:28:33 +02:00
|
|
|
USE_PERL5= build
|
2014-01-13 22:00:02 +01:00
|
|
|
USE_PYTHON_BUILD= 2
|
2008-03-31 15:55:58 +02:00
|
|
|
USE_LDCONFIG= yes
|
2004-01-24 04:36:43 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2008-08-22 20:49:56 +02:00
|
|
|
|
2010-05-07 02:39:22 +02:00
|
|
|
CONFIGURE_ENV= CC="${CC}"
|
2009-06-10 07:53:27 +02:00
|
|
|
|
2010-06-02 00:35:25 +02:00
|
|
|
CONFIGURE_ARGS= --with-installbuilddir=${DATADIR}/build-2 \
|
|
|
|
--with-expat=${LOCALBASE} \
|
2013-09-07 21:49:41 +02:00
|
|
|
--with-iconv=${ICONV_PREFIX}
|
2002-03-14 17:39:26 +01:00
|
|
|
|
2010-06-02 00:35:25 +02:00
|
|
|
WRKSRC= ${WRKDIR}/apr
|
2008-07-04 21:29:21 +02:00
|
|
|
|
2010-06-02 00:35:25 +02:00
|
|
|
SHLIB_MAJOR= 0
|
|
|
|
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
|
2002-12-29 15:46:21 +01:00
|
|
|
|
2012-07-08 20:09:03 +02:00
|
|
|
.if empty(PORT_OPTIONS:MDEVELOPER_ONLY)
|
2010-06-02 00:35:25 +02:00
|
|
|
IGNORE= not for the general public. Maintainer only supports developers of apr
|
|
|
|
.endif
|
|
|
|
|
2012-07-08 20:09:03 +02:00
|
|
|
.if ${PORT_OPTIONS:MTHREADS}
|
|
|
|
CONFIGURE_ARGS+= --enable-threads
|
|
|
|
.else
|
2010-06-02 00:35:25 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-threads
|
2012-07-08 20:09:03 +02:00
|
|
|
. if defined(PKGNAMESUFFIX)
|
2004-02-01 09:07:50 +01:00
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-nothr
|
2012-07-08 20:09:03 +02:00
|
|
|
. else
|
2004-02-01 09:07:50 +01:00
|
|
|
PKGNAMESUFFIX= -nothr
|
2012-07-08 20:09:03 +02:00
|
|
|
. endif
|
2004-02-01 09:07:50 +01:00
|
|
|
.endif
|
|
|
|
|
2012-07-08 20:09:03 +02:00
|
|
|
.if ${PORT_OPTIONS:MIPV6}
|
2010-06-02 00:35:25 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
2012-07-08 20:09:03 +02:00
|
|
|
. if defined(PKGNAMESUFFIX)
|
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 20:43:53 +01:00
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-ipv6
|
2012-07-08 20:09:03 +02: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 20:43:53 +01:00
|
|
|
PKGNAMESUFFIX= -ipv6
|
2012-07-08 20:09:03 +02:00
|
|
|
. endif
|
|
|
|
.else
|
|
|
|
CONFIGURE_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 20:43:53 +01:00
|
|
|
.endif
|
|
|
|
|
2012-07-08 20:09:03 +02:00
|
|
|
.if ${PORT_OPTIONS:MDEVRANDOM}
|
2010-06-02 00:35:25 +02:00
|
|
|
CONFIGURE_ARGS+= --with-devrandom
|
2012-07-08 20:09:03 +02:00
|
|
|
. if defined(PKGNAMESUFFIX)
|
2010-05-07 04:26:46 +02:00
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-devrandom
|
2012-07-08 20:09:03 +02:00
|
|
|
. else
|
2010-05-07 04:26:46 +02:00
|
|
|
PKGNAMESUFFIX= -devrandom
|
2012-07-08 20:09:03 +02:00
|
|
|
. endif
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-devrandom
|
2010-05-07 04:26:46 +02: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 20:43:53 +01:00
|
|
|
######### APR-Util Options
|
2012-07-08 20:09:03 +02:00
|
|
|
.if ${PORT_OPTIONS:MGDBM}
|
2009-06-08 04:54:14 +02:00
|
|
|
PLIST_SUB+= GDBM=""
|
2010-06-02 00:35:25 +02:00
|
|
|
EXTRAS= yes
|
2012-07-08 20:09:03 +02:00
|
|
|
LIB_DEPENDS+= gdbm:${PORTSDIR}/databases/gdbm
|
2010-06-02 00:35:25 +02:00
|
|
|
CONFIGURE_ARGS+= --with-gdbm=${LOCALBASE}
|
2012-07-08 20:09:03 +02:00
|
|
|
. if defined(PKGNAMESUFFIX)
|
2003-11-09 01:57:38 +01:00
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-gdbm
|
2012-07-08 20:09:03 +02:00
|
|
|
. else
|
2003-11-09 01:57:38 +01:00
|
|
|
PKGNAMESUFFIX= -gdbm
|
2012-07-08 20:09:03 +02:00
|
|
|
. endif
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= GDBM="@comment "
|
|
|
|
CONFIGURE_ARGS+= --without-gdbm
|
2006-04-06 12:37:17 +02:00
|
|
|
.endif
|
|
|
|
|
2012-07-08 20:09:03 +02:00
|
|
|
.if ${PORT_OPTIONS:MBDB}
|
2010-06-02 00:35:25 +02:00
|
|
|
EXTRAS= yes
|
2009-06-08 04:54:14 +02:00
|
|
|
PLIST_SUB+= BDB=""
|
2006-04-06 12:37:17 +02:00
|
|
|
USE_BDB= 42+
|
2010-06-02 00:35:25 +02:00
|
|
|
CONFIGURE_ARGS+= --with-berkeley-db=${BDB_INCLUDE_DIR}:${BDB_LIB_DIR}
|
2012-07-08 20:09:03 +02:00
|
|
|
. if defined(PKGNAMESUFFIX)
|
2006-04-06 12:37:17 +02:00
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-${BDB_INCLUDE_DIR:S,^${LOCALBASE}/include/,,}
|
2012-07-08 20:09:03 +02:00
|
|
|
. else
|
2006-04-06 12:37:17 +02:00
|
|
|
PKGNAMESUFFIX= -${BDB_INCLUDE_DIR:S,^${LOCALBASE}/include/,,}
|
2012-07-08 20:09:03 +02:00
|
|
|
. endif
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= BDB="@comment "
|
|
|
|
CONFIGURE_ARGS+= --without-berkeley-db
|
2003-11-09 01:57:38 +01:00
|
|
|
.endif
|
2004-02-01 09:07:50 +01:00
|
|
|
|
2012-07-08 20:09:03 +02:00
|
|
|
.if ${PORT_OPTIONS:MNDBM}
|
2010-06-02 00:35:25 +02:00
|
|
|
EXTRAS= yes
|
2009-06-08 04:54:14 +02:00
|
|
|
PLIST_SUB+= NDBM=""
|
2010-06-02 00:35:25 +02:00
|
|
|
CONFIGURE_ARGS+= --with-ndbm=/usr
|
2012-07-08 20:09:03 +02:00
|
|
|
. if defined(PKGNAMESUFFIX)
|
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 20:43:53 +01:00
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-ndbm
|
2012-07-08 20:09:03 +02: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 20:43:53 +01:00
|
|
|
PKGNAMESUFFIX= -ndbm
|
2012-07-08 20:09:03 +02:00
|
|
|
. endif
|
2010-05-07 02:39:22 +02:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= NDBM="@comment "
|
2010-06-02 00:35:25 +02:00
|
|
|
CONFIGURE_ARGS+= --without-ndbm
|
2008-08-22 20:49:56 +02:00
|
|
|
.endif
|
|
|
|
|
2012-07-08 20:09:03 +02:00
|
|
|
.if ${PORT_OPTIONS:MMYSQL}
|
2010-06-02 00:35:25 +02:00
|
|
|
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 20:43:53 +01:00
|
|
|
PLIST_SUB+= MYSQL=""
|
|
|
|
USE_MYSQL= YES
|
2010-06-02 00:35:25 +02:00
|
|
|
CONFIGURE_ARGS+= --with-mysql=${LOCALBASE}
|
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 20:43:53 +01:00
|
|
|
CONFIGURE_ENV+= LIBS="${LIBS}"
|
2010-05-06 00:24:51 +02: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 20:43:53 +01:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib/mysql
|
2012-07-08 20:09:03 +02:00
|
|
|
. if defined(PKGNAMESUFFIX)
|
2010-05-06 00:23:06 +02:00
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-mysql${MYSQL_VER}
|
2012-07-08 20:09:03 +02: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 20:43:53 +01:00
|
|
|
PKGNAMESUFFIX= -mysql
|
2012-07-08 20:09:03 +02:00
|
|
|
. endif
|
2004-02-01 09:07:50 +01: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 20:43:53 +01:00
|
|
|
PLIST_SUB+= MYSQL="@comment "
|
2010-06-02 00:35:25 +02:00
|
|
|
CONFIGURE_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 20:43:53 +01:00
|
|
|
.endif
|
|
|
|
|
2012-07-08 20:09:03 +02:00
|
|
|
.if ${PORT_OPTIONS:MPGSQL}
|
2010-06-02 00:35:25 +02:00
|
|
|
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 20:43:53 +01:00
|
|
|
PLIST_SUB+= PGSQL=""
|
|
|
|
USE_PGSQL= YES
|
2010-06-02 00:35:25 +02:00
|
|
|
CONFIGURE_ARGS+= --with-pgsql=${LOCALBASE}
|
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 20:43:53 +01:00
|
|
|
CONFIGURE_ENV+= ac_cv_path_PGSQL_CONFIG=""
|
2012-07-08 20:09:03 +02:00
|
|
|
. if defined(PKGNAMESUFFIX)
|
2010-05-06 00:23:06 +02:00
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-pgsql${PGSQL_VER}
|
2012-07-08 20:09:03 +02: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 20:43:53 +01:00
|
|
|
PKGNAMESUFFIX= -pgsql
|
2012-07-08 20:09:03 +02: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 20:43:53 +01:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= PGSQL="@comment "
|
2010-06-02 00:35:25 +02:00
|
|
|
CONFIGURE_ARGS+= --without-pgsql
|
2003-11-09 01:57:38 +01:00
|
|
|
.endif
|
|
|
|
|
2012-07-08 20:09:03 +02:00
|
|
|
.if ${PORT_OPTIONS:MSQLITE}
|
2010-06-02 00:35:25 +02:00
|
|
|
EXTRAS= yes
|
2009-12-24 20:49:51 +01:00
|
|
|
PLIST_SUB+= SQLITE3=""
|
|
|
|
USE_SQLITE= YES
|
2010-06-02 00:35:25 +02:00
|
|
|
CONFIGURE_ARGS+= --with-sqlite3=${LOCALBASE}
|
2012-07-08 20:09:03 +02:00
|
|
|
. if defined(PKGNAMESUFFIX)
|
2009-12-24 20:49:51 +01:00
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-sqlite3
|
2012-07-08 20:09:03 +02:00
|
|
|
. else
|
2009-12-24 20:49:51 +01:00
|
|
|
PKGNAMESUFFIX= -sqlite3
|
2012-07-08 20:09:03 +02:00
|
|
|
. endif
|
2009-12-24 20:49:51 +01:00
|
|
|
.else
|
2010-06-02 00:35:25 +02:00
|
|
|
CONFIGURE_ARGS+= --without-sqlite3
|
2009-12-24 20:49:51 +01:00
|
|
|
PLIST_SUB+= SQLITE3="@comment "
|
|
|
|
.endif
|
|
|
|
|
2010-06-02 00:35:25 +02:00
|
|
|
.if defined(EXTRAS)
|
|
|
|
PLIST_SUB+= EXTRAS=""
|
2009-06-08 04:54:14 +02:00
|
|
|
.else
|
2010-06-02 00:35:25 +02:00
|
|
|
PLIST_SUB+= EXTRAS="@comment "
|
2009-06-08 04:54:14 +02:00
|
|
|
.endif
|
|
|
|
|
2004-11-03 05:19:11 +01:00
|
|
|
post-patch:
|
2010-06-02 00:35:25 +02:00
|
|
|
${REINPLACE_CMD} -e 's/OSVERSION/${OSVERSION}/g' ${WRKSRC}/build/apr_hints.m4
|
|
|
|
${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
|
2004-11-25 05:54:14 +01:00
|
|
|
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
|
2010-06-02 00:35:25 +02:00
|
|
|
${REINPLACE_CMD} -e '1 s/python/${PYTHON_VERSION}/' ${WRKSRC}/build/gen-build.py
|
2002-03-14 17:39:26 +01:00
|
|
|
|
2010-06-02 00:35:25 +02:00
|
|
|
run-autotools:
|
|
|
|
@(cd ${WRKSRC} ; ${SETENV} ${CONFIGURE_ENV} ${SH} ./buildconf)
|
2004-03-15 15:07:47 +01:00
|
|
|
|
2010-06-02 00:35:25 +02:00
|
|
|
test: build
|
|
|
|
@(cd ${WRKSRC}; make test)
|
2002-03-14 17:39:26 +01:00
|
|
|
|
2010-06-02 00:35:25 +02:00
|
|
|
#regression-test: test
|
2002-03-14 17:39:26 +01:00
|
|
|
|
2004-04-10 19:34:39 +02: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 20:43:53 +01: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}"
|
2010-06-02 00:35:25 +02:00
|
|
|
@${ECHO} "${SETENV} ${CONFIGURE_ENV} ${SH} ./configure ${CONFIGURE_ARGS} ${CONFIGURE_ARGS}"
|
2004-04-10 19:34:39 +02:00
|
|
|
|
2009-06-10 07:53:27 +02:00
|
|
|
.include <bsd.port.mk>
|