aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2007-02-07 14:40:40 +0800
committerkris <kris@FreeBSD.org>2007-02-07 14:40:40 +0800
commit868e69591dcdeea5934435e636f13f9213312e45 (patch)
tree7b5c66b6221806fc279618177420247046a986db
parentcc11234fbd42148393db5d0cab7574a8da3f2563 (diff)
downloadfreebsd-ports-gnome-868e69591dcdeea5934435e636f13f9213312e45.tar.gz
freebsd-ports-gnome-868e69591dcdeea5934435e636f13f9213312e45.tar.zst
freebsd-ports-gnome-868e69591dcdeea5934435e636f13f9213312e45.zip
Fix build after objformat removal
Submitted by: maintainer PR: ports/108773
-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