Testing dev-lang/php-5.3.2 on Gentoo/FreeBSD (8.0 profile) I get this errors during the src_prepare phase: >>> Preparing source in /var/tmp/portage/dev-lang/php-5.3.2/work/php-5.3.2 ... * Applying generic patches and fixes from upstream... * 001_all_multilib.patch ... [ ok ] * 002_all_iodbc-gentoo.patch ... [ ok ] * 003_all_c-client-symlink.patch ... [ ok ] * 006_all_mysql-charsetphpini-gentoo.patch ... [ ok ] * 007_all_mysqli-charsetphpini-gentoo.patch ... [ ok ] * 008_all_pdo_mysql-charsetphpini-gentoo.patch ... [ ok ] * 009_all_mysql_defaultport_gentoo.patch ... [ ok ] * 010_all_mysqlnd_defaultport_gentoo.patch ... [ ok ] * 011_all_sharedmem_session_path_gentoo.patch ... [ ok ] * 012_all_add_db4_gentoo.patch ... [ ok ] * 013_all_pdomysql_crushing_gentoo.patch ... [ ok ] * Done with patching find: illegal option -- n find: illegal option -- a find: illegal option -- m find: illegal option -- e find: *.m4: No such file or directory this happens because the file 'files/eblits/src_prepare-v1.eblit' is misusing the 'find' command, invoking it without a proper path: 'find -name '*.m4'. The fix is really easy, it's enough to explicitly add the proper path: 'find . -name '*.m4'. Attached there is a quick patch for the file 'src_prepare-v1.eblit'. I hope it is useful. Mauro
Created attachment 233227 [details] build.log
Created attachment 233229 [details, diff] src_prepare-v1.eblit.patch
Nice catch, thanks. Fixed in CVS.