Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144998200
D40366.id144187.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D40366.id144187.diff
View Options
diff --git a/devel/apr1/Makefile b/devel/apr1/Makefile
--- a/devel/apr1/Makefile
+++ b/devel/apr1/Makefile
@@ -12,10 +12,9 @@
LICENSE= APACHE20
-BUILD_DEPENDS+= automake>=1.16.1:devel/automake
LIB_DEPENDS= libexpat.so:textproc/expat2
-USES= iconv pathfix libtool cpe
+USES= autoreconf iconv pathfix libtool cpe
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
@@ -31,12 +30,13 @@
OPTIONS_DEFINE= IPV6
OPTIONS_GROUP_APU= GDBM LDAP MYSQL NDBM ODBC PGSQL SQLITE
OPTIONS_RADIO= BERKELEYDB CRYPTO
-OPTIONS_RADIO_BERKELEYDB= BDB BDB5
+OPTIONS_RADIO_BERKELEYDB= BDB BDB1 BDB5
OPTIONS_RADIO_CRYPTO= SSL NSS
OPTIONS_DEFAULT= BDB GDBM SSL
APU_DESC= Database support
BDB_DESC= Berkeley DB support (AGPLv3)
+BDB1_DESC= Berkeley DB 1.85 support (BSD 4-clause)
BDB5_DESC= Berkeley DB v5 support (deprecated)
BERKELEYDB_DESC= Berkeley DB provider
CRYPTO_DESC= Cryptography provider
@@ -87,6 +87,9 @@
BDB_VARS= ${BDB5_VARS} \
LICENSE_COMB=dual LICENSE+=AGPLv3
+BDB1_VARS= LICENSE_COMB=dual LICENSE+=BSD4CLAUSE \
+ APU_CONF_ARGS+="--with-berkeley-db=/usr/include:/usr/lib \
+ --with-dbm=db1"
BDB5_VARS= APU_CONF_ARGS+=--with-berkeley-db=${BDB_INCLUDE_DIR}:${BDB_LIB_DIR}
GDBM_VARS= APU_CONF_ARGS+=--with-gdbm=${LOCALBASE}
LDAP_VARS= APU_CONF_ARGS+="--with-ldap-include=${LOCALBASE}/include \
@@ -119,7 +122,7 @@
.include <bsd.port.options.mk>
-.if !${PORT_OPTIONS:MBDB} && !${PORT_OPTIONS:MBDB5}
+.if !${PORT_OPTIONS:MBDB} && !${PORT_OPTIONS:MBDB1} && !${PORT_OPTIONS:MBDB5}
APU_CONF_ARGS+= --without-berkeley-db
.endif
diff --git a/devel/apr1/files/patch-apr-1.7.3_configure b/devel/apr1/files/patch-apr-1.7.3_configure
deleted file mode 100644
--- a/devel/apr1/files/patch-apr-1.7.3_configure
+++ /dev/null
@@ -1,28 +0,0 @@
---- apr-1.7.3/configure.orig 2015-04-25 12:04:18 UTC
-+++ apr-1.7.3/configure
-@@ -6624,11 +6624,7 @@ if test "x$apr_preload_done" != "xyes" ;
- apr_lock_method="USE_FLOCK_SERIALIZE"
- fi
-
-- if test -x /sbin/sysctl; then
-- os_version=`/sbin/sysctl -n kern.osreldate`
-- else
-- os_version=000000
-- fi
-+ os_version="OSVERSION"
- # 502102 is when libc_r switched to libpthread (aka libkse).
- if test $os_version -ge "502102"; then
- apr_cv_pthreads_cflags="none"
-@@ -18841,11 +18837,7 @@ fi
- # comparisons.
- case $host in
- *freebsd*)
-- if test -x /sbin/sysctl; then
-- os_version=`/sbin/sysctl -n kern.osreldate`
-- else
-- os_version=000000
-- fi
-+ os_version="OSVERSION"
- ;;
- *linux*)
- os_major=`uname -r | sed -e 's/\([1-9][0-9]*\)\..*/\1/'`
diff --git a/devel/apr1/files/patch-bdb18 b/devel/apr1/files/patch-apr-util-1.6.3_build_dbm.m4
rename from devel/apr1/files/patch-bdb18
rename to devel/apr1/files/patch-apr-util-1.6.3_build_dbm.m4
--- a/devel/apr1/files/patch-bdb18
+++ b/devel/apr1/files/patch-apr-util-1.6.3_build_dbm.m4
@@ -1,6 +1,4 @@
-diff --git apr-util-1.6.1/build/dbm.m4 apr-util-1.6.1/build/dbm.m4
-index 57bd131f..5cbee4b3 100644
---- apr-util-1.6.3/build/dbm.m4
+--- apr-util-1.6.3/build/dbm.m4.orig 2013-11-23 18:00:53 UTC
+++ apr-util-1.6.3/build/dbm.m4
@@ -112,7 +112,7 @@ AC_DEFUN([APU_CHECK_BERKELEY_DB], [
changequote([,])
@@ -11,6 +9,15 @@
# We generate a separate cache variable for each prefix and libname
# we search under. That way, we avoid caching information that
# changes if the user runs `configure' with a different set of
+@@ -293,7 +293,7 @@ AC_DEFUN([APU_CHECK_DB1], [
+ APU_CHECK_BERKELEY_DB(1, 0, 0,
+ "$places",
+ "db1/db.h db.h",
+- "db1"
++ "c db1"
+ )
+ if test "$apu_have_db" = "1"; then
+ apu_db_version=1
@@ -432,7 +432,15 @@ AC_DEFUN([APU_CHECK_DB], [
AC_MSG_ERROR(Berkeley db$db_major not found)
fi
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 15, 9:33 PM (13 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28756800
Default Alt Text
D40366.id144187.diff (3 KB)
Attached To
Mode
D40366: devel/apr1: support building DBM with BDB 1.85
Attached
Detach File
Event Timeline
Log In to Comment