Lines 30-37
Link Here
|
30 |
SQLITE "Enable SQLite3 support in apr-util" off \ |
30 |
SQLITE "Enable SQLite3 support in apr-util" off \ |
31 |
DEVRANDOM "Use /dev/random or compatible in apr" on |
31 |
DEVRANDOM "Use /dev/random or compatible in apr" on |
32 |
|
32 |
|
33 |
APR_VERSION= 1.4.5 |
33 |
APR_VERSION= 1.4.6 |
34 |
APU_VERSION= 1.3.12 |
34 |
APU_VERSION= 1.4.1 |
35 |
|
35 |
|
36 |
USE_ICONV= yes |
36 |
USE_ICONV= yes |
37 |
USE_AUTOTOOLS= automake autoconf libtool:env |
37 |
USE_AUTOTOOLS= automake autoconf libtool:env |
Lines 48-54
Link Here
|
48 |
|
48 |
|
49 |
PLIST_SUB= SHLIB_APR_MAJOR="${SHLIB_APR_MAJOR}" SHLIB_APU_MAJOR="${SHLIB_APU_MAJOR}" |
49 |
PLIST_SUB= SHLIB_APR_MAJOR="${SHLIB_APR_MAJOR}" SHLIB_APU_MAJOR="${SHLIB_APU_MAJOR}" |
50 |
SHLIB_APR_MAJOR= 4 |
50 |
SHLIB_APR_MAJOR= 4 |
51 |
SHLIB_APU_MAJOR= 3 |
51 |
SHLIB_APU_MAJOR= 4 |
52 |
|
52 |
|
53 |
APR_CONF_ARGS= --with-installbuilddir=${DATADIR}/build-1 |
53 |
APR_CONF_ARGS= --with-installbuilddir=${DATADIR}/build-1 |
54 |
APU_CONF_ARGS= --with-apr=${APR_WRKDIR} \ |
54 |
APU_CONF_ARGS= --with-apr=${APR_WRKDIR} \ |
Lines 60-70
Link Here
|
60 |
########## APR Options |
60 |
########## APR Options |
61 |
.if defined(WITHOUT_THREADS) |
61 |
.if defined(WITHOUT_THREADS) |
62 |
APR_CONF_ARGS+= --disable-threads |
62 |
APR_CONF_ARGS+= --disable-threads |
63 |
.if defined(PKGNAMESUFFIX) |
|
|
64 |
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-nothr |
65 |
.else |
66 |
PKGNAMESUFFIX= -nothr |
67 |
.endif |
68 |
.else |
63 |
.else |
69 |
APR_CONF_ARGS+= --enable-threads |
64 |
APR_CONF_ARGS+= --enable-threads |
70 |
.endif |
65 |
.endif |
Lines 73-94
Link Here
|
73 |
APR_CONF_ARGS+= --disable-ipv6 |
68 |
APR_CONF_ARGS+= --disable-ipv6 |
74 |
.else |
69 |
.else |
75 |
APR_CONF_ARGS+= --enable-ipv6 |
70 |
APR_CONF_ARGS+= --enable-ipv6 |
76 |
.if defined(PKGNAMESUFFIX) |
|
|
77 |
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-ipv6 |
78 |
.else |
79 |
PKGNAMESUFFIX= -ipv6 |
80 |
.endif |
81 |
.endif |
71 |
.endif |
82 |
|
72 |
|
83 |
.if defined(WITHOUT_DEVRANDOM) |
73 |
.if defined(WITHOUT_DEVRANDOM) |
84 |
APR_CONF_ARGS+= --without-devrandom |
74 |
APR_CONF_ARGS+= --without-devrandom |
85 |
.else |
75 |
.else |
86 |
APR_CONF_ARGS+= --with-devrandom |
76 |
APR_CONF_ARGS+= --with-devrandom |
87 |
.if defined(PKGNAMESUFFIX) |
|
|
88 |
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-devrandom |
89 |
.else |
90 |
PKGNAMESUFFIX= -devrandom |
91 |
.endif |
92 |
.endif |
77 |
.endif |
93 |
|
78 |
|
94 |
######### APR-Util Options |
79 |
######### APR-Util Options |
Lines 100-110
Link Here
|
100 |
APU_EXTRAS= yes |
85 |
APU_EXTRAS= yes |
101 |
LIB_DEPENDS+= gdbm.4:${PORTSDIR}/databases/gdbm |
86 |
LIB_DEPENDS+= gdbm.4:${PORTSDIR}/databases/gdbm |
102 |
APU_CONF_ARGS+= --with-gdbm=${LOCALBASE} |
87 |
APU_CONF_ARGS+= --with-gdbm=${LOCALBASE} |
103 |
.if defined(PKGNAMESUFFIX) |
|
|
104 |
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-gdbm |
105 |
.else |
106 |
PKGNAMESUFFIX= -gdbm |
107 |
.endif |
108 |
.endif |
88 |
.endif |
109 |
|
89 |
|
110 |
.if defined(WITHOUT_BDB) |
90 |
.if defined(WITHOUT_BDB) |
Lines 115-136
Link Here
|
115 |
PLIST_SUB+= BDB="" |
95 |
PLIST_SUB+= BDB="" |
116 |
USE_BDB= 42+ |
96 |
USE_BDB= 42+ |
117 |
APU_CONF_ARGS+= --with-berkeley-db=${BDB_INCLUDE_DIR}:${BDB_LIB_DIR} |
97 |
APU_CONF_ARGS+= --with-berkeley-db=${BDB_INCLUDE_DIR}:${BDB_LIB_DIR} |
118 |
.if defined(PKGNAMESUFFIX) |
|
|
119 |
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-${BDB_INCLUDE_DIR:S,^${LOCALBASE}/include/,,} |
120 |
.else |
121 |
PKGNAMESUFFIX= -${BDB_INCLUDE_DIR:S,^${LOCALBASE}/include/,,} |
122 |
.endif |
123 |
.endif |
98 |
.endif |
124 |
|
99 |
|
125 |
.if defined(WITH_NDBM) |
100 |
.if defined(WITH_NDBM) |
126 |
APU_EXTRAS= yes |
101 |
APU_EXTRAS= yes |
127 |
PLIST_SUB+= NDBM="" |
102 |
PLIST_SUB+= NDBM="" |
128 |
APU_CONF_ARGS+= --with-ndbm=/usr |
103 |
APU_CONF_ARGS+= --with-ndbm=/usr |
129 |
.if defined(PKGNAMESUFFIX) |
|
|
130 |
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-ndbm |
131 |
.else |
132 |
PKGNAMESUFFIX= -ndbm |
133 |
.endif |
134 |
.else |
104 |
.else |
135 |
PLIST_SUB+= NDBM="@comment " |
105 |
PLIST_SUB+= NDBM="@comment " |
136 |
APU_CONF_ARGS+= --without-ndbm |
106 |
APU_CONF_ARGS+= --without-ndbm |
Lines 142-152
Link Here
|
142 |
USE_OPENLDAP= yes |
112 |
USE_OPENLDAP= yes |
143 |
APU_CONF_ARGS+= --with-ldap-include=${LOCALBASE}/include \ |
113 |
APU_CONF_ARGS+= --with-ldap-include=${LOCALBASE}/include \ |
144 |
--with-ldap-lib=${LOCALBASE}/lib --with-ldap=ldap |
114 |
--with-ldap-lib=${LOCALBASE}/lib --with-ldap=ldap |
145 |
.if defined(PKGNAMESUFFIX) |
|
|
146 |
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-ldap${OPENLDAP_VER} |
147 |
.else |
148 |
PKGNAMESUFFIX= -ldap |
149 |
.endif |
150 |
.else |
115 |
.else |
151 |
PLIST_SUB+= LDAP="@comment " |
116 |
PLIST_SUB+= LDAP="@comment " |
152 |
APU_CONF_ARGS+= --without-ldap |
117 |
APU_CONF_ARGS+= --without-ldap |
Lines 160-170
Link Here
|
160 |
CONFIGURE_ENV+= LIBS="${LIBS}" |
125 |
CONFIGURE_ENV+= LIBS="${LIBS}" |
161 |
CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/mysql -DHAVE_MYSQL_H |
126 |
CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/mysql -DHAVE_MYSQL_H |
162 |
LDFLAGS+= -L${LOCALBASE}/lib/mysql |
127 |
LDFLAGS+= -L${LOCALBASE}/lib/mysql |
163 |
.if defined(PKGNAMESUFFIX) |
|
|
164 |
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-mysql${MYSQL_VER} |
165 |
.else |
166 |
PKGNAMESUFFIX= -mysql |
167 |
.endif |
168 |
.else |
128 |
.else |
169 |
PLIST_SUB+= MYSQL="@comment " |
129 |
PLIST_SUB+= MYSQL="@comment " |
170 |
APU_CONF_ARGS+= --without-mysql |
130 |
APU_CONF_ARGS+= --without-mysql |
Lines 176-186
Link Here
|
176 |
USE_PGSQL= YES |
136 |
USE_PGSQL= YES |
177 |
APU_CONF_ARGS+= --with-pgsql=${LOCALBASE} |
137 |
APU_CONF_ARGS+= --with-pgsql=${LOCALBASE} |
178 |
CONFIGURE_ENV+= ac_cv_path_PGSQL_CONFIG="" |
138 |
CONFIGURE_ENV+= ac_cv_path_PGSQL_CONFIG="" |
179 |
.if defined(PKGNAMESUFFIX) |
|
|
180 |
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-pgsql${PGSQL_VER} |
181 |
.else |
182 |
PKGNAMESUFFIX= -pgsql |
183 |
.endif |
184 |
.else |
139 |
.else |
185 |
PLIST_SUB+= PGSQL="@comment " |
140 |
PLIST_SUB+= PGSQL="@comment " |
186 |
APU_CONF_ARGS+= --without-pgsql |
141 |
APU_CONF_ARGS+= --without-pgsql |
Lines 191-201
Link Here
|
191 |
PLIST_SUB+= SQLITE3="" |
146 |
PLIST_SUB+= SQLITE3="" |
192 |
USE_SQLITE= YES |
147 |
USE_SQLITE= YES |
193 |
APU_CONF_ARGS+= --with-sqlite3=${LOCALBASE} |
148 |
APU_CONF_ARGS+= --with-sqlite3=${LOCALBASE} |
194 |
.if defined(PKGNAMESUFFIX) |
|
|
195 |
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-sqlite3 |
196 |
.else |
197 |
PKGNAMESUFFIX= -sqlite3 |
198 |
.endif |
199 |
.else |
149 |
.else |
200 |
APU_CONF_ARGS+= --without-sqlite3 |
150 |
APU_CONF_ARGS+= --without-sqlite3 |
201 |
PLIST_SUB+= SQLITE3="@comment " |
151 |
PLIST_SUB+= SQLITE3="@comment " |