-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Fellow devs,
I'd like to propose a new function for eutils.eclass that fixes m4 files so that aclocal doesn't produce those annoying underquoted definition warnings when invoked. fix_underquoted_m4defs() { local m4 for m4 in $(find ${S} -name '*.m4*' -type f) ; do [[ ${m4} == *aclocal.m4 || ${m4} == *acinclude.m4 ]] && \ continue sed -i \ 's|^\(.*AC_DEFUN(\)\([^[:punct:]][[:print:]]\+\),\(.*\)$|\1[\2],\3|g' \ ${m4} done } ebuilds that install m4's with underquoted defs (there's quite a few) can then just call this in src_unpack (until fixed upstream of course). Comments? - -- "I'm a mean green mother from outer space" -- Audrey II, The Little Shop of Horrors Aaron Walker <[EMAIL PROTECTED]> [ BSD | cron | forensics | shell-tools | commonbox | netmon | vim | web-apps ] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCiu/vC3poscuANHARAhQ+AJ9lDHZDIkWG/5GRZoZgbo1/HrwrawCg3z1E 5jXrjwzz4gdCX30bshuI1mo= =TrEG -----END PGP SIGNATURE----- -- gentoo-dev@gentoo.org mailing list