--- audit-1.7.4.ebuild +++ audit-1.7.4.ebuild @@ -54,7 +54,10 @@ -e '/^SUBDIRS/s,zos-remote,,g' \ "${S}"/audisp/plugins/Makefile.am fi - + # Prevent building static _audit + sed -i -e 's/_audit_la_LDFLAGS = -module -avoid-version/& -shared /' \ + swig/Makefile.am || die "sed failed" + # Regenerate autotooling eautoreconf } @@ -93,6 +96,9 @@ # Security lockdown_perms "${D}" + + # removing pointless la + rm "${D}"$(python_get_sitedir)/_audit.la } pkg_postinst() {