aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/ettercap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/ettercap/Makefile')
-rw-r--r--net-mgmt/ettercap/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/net-mgmt/ettercap/Makefile b/net-mgmt/ettercap/Makefile
index b84c42e51d99..0ef16fd35125 100644
--- a/net-mgmt/ettercap/Makefile
+++ b/net-mgmt/ettercap/Makefile
@@ -99,6 +99,9 @@ post-patch:
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -E -e 's|(^pkgdatadir.+=).+|\1 ${DATADIR}|' \
${WRKSRC}/share/Makefile.in
+# Fix objformat
+ @${REINPLACE_CMD} -E -e 's|(^.*=).*/usr/bin/objformat.*|\1"elf"|' \
+ ${WRKSRC}/aclocal.m4 ${WRKSRC}/configure
post-install:
@${INSTALL_DATA} ${WRKSRC}/share/etter.conf \