aboutsummaryrefslogtreecommitdiffstats
path: root/databases/db33/Makefile
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-08-01 19:51:53 +0800
committerknu <knu@FreeBSD.org>2001-08-01 19:51:53 +0800
commitf28563e10a71a1af03c931d5737c041af150413f (patch)
treefe8aa9b14881c1750d9680af35c2651d5656cfc2 /databases/db33/Makefile
parent564760e9edd01a50d69524ffec5cab847dc7c7c0 (diff)
downloadfreebsd-ports-gnome-f28563e10a71a1af03c931d5737c041af150413f.tar.gz
freebsd-ports-gnome-f28563e10a71a1af03c931d5737c041af150413f.tar.zst
freebsd-ports-gnome-f28563e10a71a1af03c931d5737c041af150413f.zip
Back out the db3 update for the moment, due to the incompatibilty
problem that broke the openldap2 build.
Diffstat (limited to 'databases/db33/Makefile')
-rw-r--r--databases/db33/Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/databases/db33/Makefile b/databases/db33/Makefile
index fb1b4a20deb8..e0919740e1ab 100644
--- a/databases/db33/Makefile
+++ b/databases/db33/Makefile
@@ -6,27 +6,35 @@
#
PORTNAME= db3
-PORTVERSION= 3.3.11
+PORTVERSION= 3.2.9
+PORTREVISION= 2
CATEGORIES= databases
MASTER_SITES= http://www.sleepycat.com/update/${PORTVERSION}/
DISTNAME= db-${PORTVERSION}
DIST_SUBDIR= bdb
+PATCH_SITES= ${MASTER_SITES}
+PATCHFILES= patch.${PORTVERSION}.1 patch.${PORTVERSION}.2
+PATCH_DIST_STRIP= -d ${WRKDIR}/${DISTNAME}
+
MAINTAINER= ozz@FreeBSD.org.ru
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
INSTALLS_SHLIB= yes
-#USE_LIBTOOL= yes
-GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
CONFIGURE_SCRIPT= ../dist/configure
-#LIBTOOLFILES= ${CONFIGURE_SCRIPT}
+LIBTOOLFILES= ${CONFIGURE_SCRIPT}
CONFIGURE_ARGS= --enable-compat185 \
--enable-dump185 --enable-cxx \
+ --enable-dynamic \
--prefix=${PREFIX} \
--includedir=${PREFIX}/include/db3 \
--target=${ARCH}-unknown-freebsd${OSREL}
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+
post-patch:
@${CHMOD} 755 ${WRKSRC}/${CONFIGURE_SCRIPT}