diff --git a/Mk/Uses/libtool.mk b/Mk/Uses/libtool.mk index 21ec4a39b877..11642c08672e 100644 --- a/Mk/Uses/libtool.mk +++ b/Mk/Uses/libtool.mk @@ -20,6 +20,7 @@ patch-libtool: @${FIND} ${WRKDIR} \( -name configure -or -name ltconfig \) \ -type f | ${XARGS} ${REINPLACE_CMD} \ -e '/link_all_deplibs[0-9A-Z_]*=/s/=unknown/=no/' \ + -e 's,freebsd\*),freebsd\*|dragonfly\*),g' \ -e '/objformat=/s/echo aout/echo elf/' \ -e "/freebsd-elf\\*)/,/;;/ { \ /deplibs_check_method=/s/=.*/=pass_all/; }" \