aboutsummaryrefslogtreecommitdiff
path: root/devel/apr/Makefile
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2008-07-04 19:29:21 +0000
committerCraig Rodrigues <rodrigc@FreeBSD.org>2008-07-04 19:29:21 +0000
commit299e95ad1843a7f7d827005318411e4f4ea9a932 (patch)
treea083c25001c24ad445fc52b5f50bc49059e9688e /devel/apr/Makefile
parent05c1ff9b93ca66c22da646713a51812c6b338b32 (diff)
downloadports-299e95ad1843a7f7d827005318411e4f4ea9a932.tar.gz
ports-299e95ad1843a7f7d827005318411e4f4ea9a932.zip
Update to 1.3.2
PR: 124919 Submitted by: Philip M. Gollucci" <pgollucci p6m7g8 com> Changed PREFIX to LOCALBASE Submitted by: Sergey Skvortsov <skv protey ru>
Notes
Notes: svn path=/head/; revision=216311
Diffstat (limited to 'devel/apr/Makefile')
-rw-r--r--devel/apr/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/devel/apr/Makefile b/devel/apr/Makefile
index 35691e187054..66a2488f88cd 100644
--- a/devel/apr/Makefile
+++ b/devel/apr/Makefile
@@ -15,7 +15,7 @@
# APR_UTIL_WITH_LDAP: force dependency on OpenLDAP
PORTNAME= apr
-PORTVERSION= 1.2.12
+PORTVERSION= 1.3.2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_APACHE}
MASTER_SITE_SUBDIR= apr
@@ -35,9 +35,12 @@ USE_LDCONFIG= yes
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}
+PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
+SHLIB_MAJOR= 3
+
APR_UTIL_CONF_ARGS= --with-apr=../apr-${PORTVERSION} \
- --with-expat=${PREFIX} \
- --with-iconv=${PREFIX}
+ --with-expat=${LOCALBASE} \
+ --with-iconv=${LOCALBASE}
.include <bsd.port.pre.mk>
@@ -85,8 +88,8 @@ PKGNAMESUFFIX= -${BDB_INCLUDE_DIR:S,^${LOCALBASE}/include/,,}
.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
+APR_UTIL_CONF_ARGS+= --with-ldap-include=${LOCALBASE}/include \
+ --with-ldap-lib=${LOCALBASE}/lib --with-ldap=ldap
.if defined(PKGNAMESUFFIX)
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-ldap
.else