aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gconf2
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2001-06-05 12:58:02 +0800
committerade <ade@FreeBSD.org>2001-06-05 12:58:02 +0800
commite9c1b7436afb49aab430caa2870f19f797c99241 (patch)
tree83b7fc06628d7c46fb30d6ff059ed2e6c0cb937f /devel/gconf2
parent386df17ecba2557048374042cd50e22d2863a80f (diff)
downloadfreebsd-ports-gnome-e9c1b7436afb49aab430caa2870f19f797c99241.tar.gz
freebsd-ports-gnome-e9c1b7436afb49aab430caa2870f19f797c99241.tar.zst
freebsd-ports-gnome-e9c1b7436afb49aab430caa2870f19f797c99241.zip
Add Berkeley DB 3.x support
Requested by: Matthew Hawkins <matthew@topic.com.au>
Diffstat (limited to 'devel/gconf2')
-rw-r--r--devel/gconf2/Makefile5
-rw-r--r--devel/gconf2/files/patch-configure19
-rw-r--r--devel/gconf2/pkg-plist1
3 files changed, 23 insertions, 2 deletions
diff --git a/devel/gconf2/Makefile b/devel/gconf2/Makefile
index 6f25b58ef096..2833655cdd73 100644
--- a/devel/gconf2/Makefile
+++ b/devel/gconf2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gconf
PORTVERSION= 1.0.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/GConf
@@ -16,7 +16,8 @@ DISTNAME= GConf-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
LIB_DEPENDS= guile.9:${PORTSDIR}/lang/guile \
- oaf.0:${PORTSDIR}/devel/oaf
+ oaf.0:${PORTSDIR}/devel/oaf \
+ db3.2:${PORTSDIR}/databases/db3
USE_GMAKE= yes
USE_X_PREFIX= yes
diff --git a/devel/gconf2/files/patch-configure b/devel/gconf2/files/patch-configure
new file mode 100644
index 000000000000..53addfa8dd89
--- /dev/null
+++ b/devel/gconf2/files/patch-configure
@@ -0,0 +1,19 @@
+--- configure.orig Mon May 14 12:54:14 2001
++++ configure Fri Jun 1 14:34:58 2001
+@@ -3003,4 +3003,4 @@
+
+-echo $ac_n "checking for db_env_create in -ldb-3""... $ac_c" 1>&6
+-echo "configure:3006: checking for db_env_create in -ldb-3" >&5
++echo $ac_n "checking for db_env_create in -ldb3""... $ac_c" 1>&6
++echo "configure:3006: checking for db_env_create in -ldb3" >&5
+ ac_lib_var=`echo db-3'_'db_env_create | sed 'y%./+-%__p_%'`
+@@ -3010,3 +3010,3 @@
+ ac_save_LIBS="$LIBS"
+-LIBS="-ldb-3 $LIBS"
++LIBS="-ldb3 $LIBS"
+ cat > conftest.$ac_ext <<EOF
+@@ -3038,3 +3038,3 @@
+ echo "$ac_t""yes" 1>&6
+- BDB_LIBS=-ldb-3
++ BDB_LIBS=-ldb3
+ else
diff --git a/devel/gconf2/pkg-plist b/devel/gconf2/pkg-plist
index ba1228fcb484..5b283ffc6a95 100644
--- a/devel/gconf2/pkg-plist
+++ b/devel/gconf2/pkg-plist
@@ -16,6 +16,7 @@ include/gconf/1/gconf/gconf-listeners.h
include/gconf/1/gconf/gconf-schema.h
include/gconf/1/gconf/gconf-value.h
include/gconf/1/gconf/gconf.h
+lib/GConf/1/libgconfbackend-bdb.so
lib/GConf/1/libgconfbackend-xml.so
lib/libgconf-1.a
lib/libgconf-1.so