aboutsummaryrefslogtreecommitdiff
path: root/databases/db42/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-08-01 11:51:53 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-08-01 11:51:53 +0000
commit00a8157778c811958120708b284fc76b4a3fda9a (patch)
tree6c1d8e128a718477eddbdb28987e372b55d01846 /databases/db42/Makefile
parent49dea7e33c224e23122616799e5c59397a0fc8a5 (diff)
downloadports-00a8157778c811958120708b284fc76b4a3fda9a.tar.gz
ports-00a8157778c811958120708b284fc76b4a3fda9a.zip
Notes
Diffstat (limited to 'databases/db42/Makefile')
-rw-r--r--databases/db42/Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/databases/db42/Makefile b/databases/db42/Makefile
index fb1b4a20deb8..e0919740e1ab 100644
--- a/databases/db42/Makefile
+++ b/databases/db42/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}