- 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)
This commit is contained in:
Beat Gaetzi
2011-10-29 11:45:20 +00:00
parent e481af2ba4
commit e8404fa6f4
8 changed files with 33 additions and 0 deletions

View File

@@ -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