Lines 4-9
Link Here
|
4 |
# |
4 |
# |
5 |
# $FreeBSD: ports/devel/apr/Makefile,v 1.21 2003/10/03 05:25:25 max Exp $ |
5 |
# $FreeBSD: ports/devel/apr/Makefile,v 1.21 2003/10/03 05:25:25 max Exp $ |
6 |
# |
6 |
# |
|
|
7 |
# Tunables: |
8 |
# APR_UTIL_WITH_GDBM: force dependency on the GNU dbm |
9 |
# APR_UTIL_WITHOUT_GDBM: unconditionally disable the use of GNU dbm |
10 |
# APR_UTIL_WITH_BERKELEY_DB: force dependency on Sleepycat's Berkeley DB 4 |
11 |
# APR_UTIL_WITHOUT_BERKELEY_DB: unconditionally disable the use of db4 |
12 |
# (the database bindings are detected and recorded automatically if these |
13 |
# switches are not set) |
7 |
|
14 |
|
8 |
PORTNAME= apr |
15 |
PORTNAME= apr |
9 |
PORTVERSION= 0.9.4 |
16 |
PORTVERSION= 0.9.4 |
Lines 27-32
Link Here
|
27 |
|
34 |
|
28 |
WRKSRC= ${WRKDIR} |
35 |
WRKSRC= ${WRKDIR} |
29 |
|
36 |
|
|
|
37 |
CONFIGURE_ENV+= CC="${CC}" CFLAGS="${CFLAGS}" |
38 |
|
30 |
APR_CONF_ENV= ${CONFIGURE_ENV} \ |
39 |
APR_CONF_ENV= ${CONFIGURE_ENV} \ |
31 |
CONFIG_SHELL=/bin/sh |
40 |
CONFIG_SHELL=/bin/sh |
32 |
|
41 |
|
Lines 39-44
Link Here
|
39 |
--with-expat=${PREFIX} \ |
48 |
--with-expat=${PREFIX} \ |
40 |
--with-iconv=${PREFIX} |
49 |
--with-iconv=${PREFIX} |
41 |
|
50 |
|
|
|
51 |
.include <bsd.port.pre.mk> |
52 |
|
53 |
.if defined(APR_UTIL_WITHOUT_GDBM) |
54 |
APR_UTIL_CONF_ARGS+= --without-gdbm |
55 |
.else |
56 |
.if defined(APR_UTIL_WITH_GDBM) || exists(${LOCALBASE}/lib/libgdbm.so.3) |
57 |
LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm |
58 |
.if defined(PKGNAMESUFFIX) |
59 |
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-gdbm |
60 |
.else |
61 |
PKGNAMESUFFIX= -gdbm |
62 |
.endif |
63 |
.endif |
64 |
.endif |
65 |
|
66 |
.if defined(APR_UTIL_WITHOUT_BERKELEY_DB) |
67 |
APR_UTIL_CONF_ARGS+= --without-berkeley-db |
68 |
.else |
69 |
.if defined(APR_UTIL_WITH_BERKELEY_DB) || exists(${LOCALBASE}/lib/libdb4.so.0) |
70 |
LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4 |
71 |
.if defined(PKGNAMESUFFIX) |
72 |
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-db4 |
73 |
.else |
74 |
PKGNAMESUFFIX= -db4 |
75 |
.endif |
76 |
.endif |
77 |
.endif |
78 |
|
42 |
pre-configure: |
79 |
pre-configure: |
43 |
cd ${WRKDIR}/apr-${PORTVERSION}; ${SETENV} ${SCRIPTS_ENV} ./buildconf |
80 |
cd ${WRKDIR}/apr-${PORTVERSION}; ${SETENV} ${SCRIPTS_ENV} ./buildconf |
44 |
cd ${WRKDIR}/apr-util-${PORTVERSION}; \ |
81 |
cd ${WRKDIR}/apr-util-${PORTVERSION}; \ |
Lines 60-63
Link Here
|
60 |
cd ${WRKDIR}/apr-${PORTVERSION}; ${SETENV} ${MAKE_ENV} ${GMAKE} install |
97 |
cd ${WRKDIR}/apr-${PORTVERSION}; ${SETENV} ${MAKE_ENV} ${GMAKE} install |
61 |
cd ${WRKDIR}/apr-util-${PORTVERSION}; ${SETENV} ${MAKE_ENV} ${GMAKE} install |
98 |
cd ${WRKDIR}/apr-util-${PORTVERSION}; ${SETENV} ${MAKE_ENV} ${GMAKE} install |
62 |
|
99 |
|
63 |
.include <bsd.port.mk> |
100 |
.include <bsd.port.post.mk> |