2002-07-15 19:58:32 +02:00
|
|
|
# New ports collection makefile for: apr
|
2002-03-14 17:39:26 +01:00
|
|
|
# Date created: 19 February 2002
|
|
|
|
# Whom: Garrett Rooney <rooneg@electricjellyfish.net>
|
|
|
|
#
|
|
|
|
# $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
|
|
|
|
2010-05-27 05:32:06 +02:00
|
|
|
LIB_DEPENDS= expat.6:${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-06-08 04:54:14 +02:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2009-05-16 08:27:56 +02:00
|
|
|
|
2010-05-07 02:39:22 +02: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 \
|
|
|
|
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 04:26:46 +02:00
|
|
|
SQLITE "Enable SQLite3 support in apr-util" off \
|
2010-06-02 00:35:25 +02:00
|
|
|
DEVRANDOM "Use /dev/random or compatible in apr" on \
|
|
|
|
DEVELOPER_ONLY "I want to test apr2 not the maintainer" off
|
2008-08-22 20:49:56 +02:00
|
|
|
|
2004-06-04 19:29:38 +02:00
|
|
|
USE_ICONV= yes
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= automake autoconf libtool:env
|
2008-03-31 15:55:58 +02:00
|
|
|
USE_PERL5_BUILD= yes
|
2010-09-11 15:28:57 +02:00
|
|
|
USE_PYTHON_BUILD= -2.7
|
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} \
|
|
|
|
--with-iconv=${LOCALBASE}
|
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
|
|
|
|
2009-06-10 07:53:27 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2003-11-09 01:57:38 +01:00
|
|
|
|
2010-06-02 00:35:25 +02:00
|
|
|
.if !defined(WITH_DEVELOPER_ONLY)
|
|
|
|
IGNORE= not for the general public. Maintainer only supports developers of apr
|
|
|
|
.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
|
|
|
.if defined(WITHOUT_THREADS)
|
2010-06-02 00:35:25 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-threads
|
2004-02-01 09:07:50 +01:00
|
|
|
.if defined(PKGNAMESUFFIX)
|
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-nothr
|
|
|
|
.else
|
|
|
|
PKGNAMESUFFIX= -nothr
|
|
|
|
.endif
|
2006-02-11 15:42:45 +01:00
|
|
|
.else
|
2010-06-02 00:35:25 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-threads
|
2004-02-01 09:07:50 +01: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
|
|
|
.if defined(WITHOUT_IPV6)
|
2010-06-02 00:35:25 +02:00
|
|
|
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
|
|
|
.else
|
2010-06-02 00:35:25 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-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
|
|
|
.if defined(PKGNAMESUFFIX)
|
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-ipv6
|
|
|
|
.else
|
|
|
|
PKGNAMESUFFIX= -ipv6
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
2010-05-07 04:26:46 +02:00
|
|
|
.if defined(WITHOUT_DEVRANDOM)
|
2010-06-02 00:35:25 +02:00
|
|
|
CONFIGURE_ARGS+= --without-devrandom
|
2010-05-07 04:26:46 +02:00
|
|
|
.else
|
2010-06-02 00:35:25 +02:00
|
|
|
CONFIGURE_ARGS+= --with-devrandom
|
2010-05-07 04:26:46 +02:00
|
|
|
.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 20:43:53 +01:00
|
|
|
######### APR-Util Options
|
|
|
|
.if defined(WITHOUT_GDBM)
|
2009-06-08 04:54:14 +02:00
|
|
|
PLIST_SUB+= GDBM="@comment "
|
2010-06-02 00:35:25 +02:00
|
|
|
CONFIGURE_ARGS+= --without-gdbm
|
2010-05-07 02:39:22 +02:00
|
|
|
.else
|
2009-06-08 04:54:14 +02:00
|
|
|
PLIST_SUB+= GDBM=""
|
2010-06-02 00:35:25 +02:00
|
|
|
EXTRAS= yes
|
2011-09-12 15:46:58 +02:00
|
|
|
LIB_DEPENDS+= gdbm.4:${PORTSDIR}/databases/gdbm
|
2010-06-02 00:35:25 +02:00
|
|
|
CONFIGURE_ARGS+= --with-gdbm=${LOCALBASE}
|
2003-11-09 01:57:38 +01:00
|
|
|
.if defined(PKGNAMESUFFIX)
|
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-gdbm
|
|
|
|
.else
|
|
|
|
PKGNAMESUFFIX= -gdbm
|
|
|
|
.endif
|
2006-04-06 12:37:17 +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
|
|
|
.if defined(WITHOUT_BDB)
|
2009-06-08 04:54:14 +02:00
|
|
|
PLIST_SUB+= BDB="@comment "
|
2010-06-02 00:35:25 +02:00
|
|
|
CONFIGURE_ARGS+= --without-berkeley-db
|
2010-05-07 02:39:22 +02:00
|
|
|
.else
|
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}
|
2003-11-09 01:57:38 +01:00
|
|
|
.if defined(PKGNAMESUFFIX)
|
2006-04-06 12:37:17 +02:00
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-${BDB_INCLUDE_DIR:S,^${LOCALBASE}/include/,,}
|
2003-11-09 01:57:38 +01:00
|
|
|
.else
|
2006-04-06 12:37:17 +02:00
|
|
|
PKGNAMESUFFIX= -${BDB_INCLUDE_DIR:S,^${LOCALBASE}/include/,,}
|
2003-11-09 01:57:38 +01:00
|
|
|
.endif
|
|
|
|
.endif
|
2004-02-01 09:07:50 +01:00
|
|
|
|
2010-05-07 02:39:22 +02:00
|
|
|
.if defined(WITH_NDBM)
|
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
|
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
|
|
|
.if defined(PKGNAMESUFFIX)
|
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-ndbm
|
|
|
|
.else
|
|
|
|
PKGNAMESUFFIX= -ndbm
|
|
|
|
.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
|
|
|
|
|
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
|
|
|
.if defined(WITH_MYSQL)
|
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
|
|
|
|
.if defined(PKGNAMESUFFIX)
|
2010-05-06 00:23:06 +02:00
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-mysql${MYSQL_VER}
|
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
|
|
|
PKGNAMESUFFIX= -mysql
|
|
|
|
.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
|
|
|
|
|
|
|
|
.if defined(WITH_PGSQL)
|
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=""
|
|
|
|
.if defined(PKGNAMESUFFIX)
|
2010-05-06 00:23:06 +02:00
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-pgsql${PGSQL_VER}
|
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
|
|
|
PKGNAMESUFFIX= -pgsql
|
|
|
|
.endif
|
|
|
|
.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
|
|
|
|
|
2009-12-24 20:49:51 +01:00
|
|
|
.if defined(WITH_SQLITE)
|
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}
|
2009-12-24 20:49:51 +01:00
|
|
|
.if defined(PKGNAMESUFFIX)
|
|
|
|
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-sqlite3
|
|
|
|
.else
|
|
|
|
PKGNAMESUFFIX= -sqlite3
|
|
|
|
.endif
|
|
|
|
.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'
|
2009-06-10 23:27:34 +02:00
|
|
|
${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},g' \
|
2010-06-02 00:35:25 +02:00
|
|
|
${WRKSRC}/build/apr_threads.m4 \
|
|
|
|
${WRKSRC}/build/apr_hints.m4 \
|
|
|
|
${WRKSRC}/build/apu-conf.m4
|
|
|
|
${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>
|