aboutsummaryrefslogtreecommitdiffstats
path: root/databases/db47
diff options
context:
space:
mode:
authorbeat <beat@FreeBSD.org>2011-10-29 19:45:20 +0800
committerbeat <beat@FreeBSD.org>2011-10-29 19:45:20 +0800
commit12426cc2a8ee1f3640ea96e5f04b39c1dca7f749 (patch)
tree5805fd4e6a792ac0c9e7b03300949c5d1b58e6a4 /databases/db47
parent0392e15d4d9799e91a21fa91050eeaf639d098a5 (diff)
downloadfreebsd-ports-gnome-12426cc2a8ee1f3640ea96e5f04b39c1dca7f749.tar.gz
freebsd-ports-gnome-12426cc2a8ee1f3640ea96e5f04b39c1dca7f749.tar.zst
freebsd-ports-gnome-12426cc2a8ee1f3640ea96e5f04b39c1dca7f749.zip
- Fix build on FreeBSD 10. Apply manual fix as the configure script is
outside of WRKSRC and the WITH_FBSD10_FIX knob doesn't work in this case. Approved by: portmgr (miwi)
Diffstat (limited to 'databases/db47')
-rw-r--r--databases/db47/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/databases/db47/Makefile b/databases/db47/Makefile
index 635aa8520c30..891c687fa65b 100644
--- a/databases/db47/Makefile
+++ b/databases/db47/Makefile
@@ -53,6 +53,11 @@ INSTALL_TARGET+= install_docs docdir=${DOCSDIR}
PORTDOCS= *
.endif
+pre-configure:
+ @${REINPLACE_CMD} -e 's|freebsd1\*)|freebsd1\.\*)|' \
+ -e 's|freebsd\[123\]\*)|freebsd\[123\]\.\*)|' \
+ ${WRKSRC}/${CONFIGURE_SCRIPT}
+
post-install:
.for i in libdb libdb_cxx
${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.0 ${PREFIX}/lib