diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-10-12 22:41:44 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-10-12 22:41:44 +0000 |
commit | 08c4cd65436d26be40dc7d90771e9a52013963f2 (patch) | |
tree | 97f6275a01fbd46bbed7818b6896b4e9bf120687 /devel/apr/Makefile | |
parent | 3052c4e5492e3a7e3fb022d07c7cbca3ba1751c7 (diff) |
Notes
Diffstat (limited to 'devel/apr/Makefile')
-rw-r--r-- | devel/apr/Makefile | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/devel/apr/Makefile b/devel/apr/Makefile index 0839b490ad35..c97e3c27768f 100644 --- a/devel/apr/Makefile +++ b/devel/apr/Makefile @@ -12,20 +12,18 @@ # APR_UTIL_WITHOUT_BERKELEY_DB: unconditionally disable the use of db4 # (the database bindings are detected and recorded automatically if these # switches are not set) +# APR_UTIL_WITH_LDAP: force dependency on OpenLDAP PORTNAME= apr -PORTVERSION= 0.9.4 -PORTREVISION= 9 +PORTVERSION= 1.0.0 CATEGORIES= devel -#MASTER_SITES= http://www.apache.org/dist/apr/ -#DISTFILES= apr-${PORTVERSION}.tar.gz apr-util-${PORTVERSION}.tar.gz -MASTER_SITES= ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= kuriyama -DISTFILES= apr-APR_0_9_BRANCH_20040113112838.tar.gz apr-util-APU_0_9_BRANCH_20040113112849.tar.gz +MASTER_SITES= http://www.apache.org/dist/apr/ +DISTFILES= apr-${PORTVERSION}.tar.gz apr-util-${PORTVERSION}.tar.gz MAINTAINER= rodrigc@crodrigues.org COMMENT= The Apache Group's Portability Library +BUILD_DEPENDS= ${PYTHON_CMD}:${PYTHON_PORTSDIR} LIB_DEPENDS+= expat.5:${PORTSDIR}/textproc/expat2 USE_ICONV= yes @@ -34,6 +32,8 @@ USE_AUTOCONF_VER= 259 WANT_LIBTOOL_VER= 15 USE_PERL5= yes USE_GMAKE= yes +USE_PYTHON= yes +PYTHON_NO_DEPENDS= yes INSTALLS_SHLIB= yes GNU_CONFIGURE= yes WRKSRC= ${WRKDIR} @@ -77,6 +77,17 @@ PKGNAMESUFFIX= -db4 .endif .endif +.if defined(APR_UTIL_WITH_LDAP) +USE_OPENLDAP= yes +APR_UTIL_CONF_ARGS+= --with-ldap-include=${PREFIX}/include \ + --with-ldap-lib=${PREFIX}/lib --with-ldap=ldap +.if defined(PKGNAMESUFFIX) +PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-ldap +.else +PKGNAMESUFFIX= -ldap +.endif +.endif + pre-extract: @${ECHO_MSG} "" .if defined(APR_UTIL_WITHOUT_THREADS) |