aboutsummaryrefslogtreecommitdiffstats
path: root/databases/db48
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/db48
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/db48')
-rw-r--r--databases/db48/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/databases/db48/Makefile b/databases/db48/Makefile
index 95d14f965882..9ace74f87093 100644
--- a/databases/db48/Makefile
+++ b/databases/db48/Makefile
@@ -32,6 +32,11 @@ LIBTOOLFILES= ${CONFIGURE_SCRIPT}
WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
USE_LDCONFIG= yes
+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