aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--databases/db43/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/db43/Makefile b/databases/db43/Makefile
index 444c85345df2..1d83d33ebe6a 100644
--- a/databases/db43/Makefile
+++ b/databases/db43/Makefile
@@ -45,13 +45,13 @@ PORTDOCS= *
.endif
pre-patch:
- @${REINPLACE_CMD} -Ee 's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+ ${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:
${CHMOD} u+w ${WRKSRC}/../dist/configure
post-configure:
- @${REINPLACE_CMD} -e '/^extern void db_rpc_serverprog/ d;' ${WRKSRC}/db_server.h
+ ${REINPLACE_CMD} -e '/^extern void db_rpc_serverprog/ d;' ${WRKSRC}/db_server.h
post-install:
.for i in libdb libdb_cxx