Fix build after objformat removal
Submitted by: maintainer PR: ports/108773
This commit is contained in:
parent
f71aba844f
commit
94334e27ad
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=184465
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue