aboutsummaryrefslogtreecommitdiffstats
path: root/databases/db44/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/db44/Makefile')
-rw-r--r--databases/db44/Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/databases/db44/Makefile b/databases/db44/Makefile
index fb1b4a20deb8..e0919740e1ab 100644
--- a/databases/db44/Makefile
+++ b/databases/db44/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}