- 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
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=284636
8 changed files with 33 additions and 0 deletions

View File

@ -42,4 +42,8 @@ post-patch:
@${REINPLACE_CMD} -Ee \
's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
pre-configure:
@${REINPLACE_CMD} -e 's|freebsd1\*)|freebsd1\.\*)|' \
${WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.mk>

View File

@ -45,4 +45,8 @@ post-patch:
@${REINPLACE_CMD} -Ee \
's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
pre-configure:
@${REINPLACE_CMD} -e 's|freebsd1\*)|freebsd1\.\*)|' \
${WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.post.mk>

View File

@ -41,6 +41,8 @@ pre-patch:
${REINPLACE_CMD} -Ee 's|-l?pthread|${PTHREAD_LIBS}|g; s,/usr/bin/objformat \|\| echo aout,/usr/bin/objformat || echo elf,' ${WRKSRC}/${CONFIGURE_SCRIPT}
pre-configure:
@${REINPLACE_CMD} -e 's|freebsd1\*)|freebsd1\.\*)|' \
${WRKSRC}/${CONFIGURE_SCRIPT}
${CHMOD} u+w ${WRKSRC}/../dist/configure
post-configure:

View File

@ -40,6 +40,9 @@ pre-patch:
@${REINPLACE_CMD} -Ee 's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
pre-configure:
@${REINPLACE_CMD} -e 's|freebsd1\*)|freebsd1\.\*)|' \
-e 's|freebsd\[123\]\*)|freebsd\[123\]\.\*)|' \
${WRKSRC}/${CONFIGURE_SCRIPT}
@${CHMOD} u+w ${WRKSRC}/../dist/configure
post-configure:

View File

@ -55,6 +55,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

View File

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

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

View File

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