aboutsummaryrefslogtreecommitdiff
path: root/databases/db5/Makefile
diff options
context:
space:
mode:
authorBeat Gaetzi <beat@FreeBSD.org>2011-10-29 11:45:20 +0000
committerBeat Gaetzi <beat@FreeBSD.org>2011-10-29 11:45:20 +0000
commite8404fa6f4d604e810fd5d585740a97ffdea183d (patch)
tree03eed2c63af51f69c4da992796daf9da303404bb /databases/db5/Makefile
parente481af2ba4fbec9975513f64db7a3a763d7cf141 (diff)
downloadports-e8404fa6f4d604e810fd5d585740a97ffdea183d.tar.gz
ports-e8404fa6f4d604e810fd5d585740a97ffdea183d.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)
Notes
Notes: svn path=/head/; revision=284636
Diffstat (limited to 'databases/db5/Makefile')
-rw-r--r--databases/db5/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/databases/db5/Makefile b/databases/db5/Makefile
index 02e850cf228d..4c2afce6ba9c 100644
--- a/databases/db5/Makefile
+++ b/databases/db5/Makefile
@@ -84,6 +84,11 @@ CONFIGURE_ARGS+= --enable-debug --enable-umrw
post-patch:
${REINPLACE_CMD} -e '/^DOCLIST/{s/csharp//;}' ${WRKSRC}/../dist/Makefile.in
+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 libdb_stl ${libdb_sql} ${libdb_java}
${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.0 ${PREFIX}/lib