At the end of the ebuild there are some einfos stating the following output: * Smarty has been installed in /usr/lib/php/Smarty. * To use it in your scripts, either * 1. define(SMARTY_DIR, "/usr/lib/php/Smarty") in your scripts, or * 2. add /usr/lib/php/Smarty to includes= in /etc/php4/php.ini Line 3 (1. define...) lacks a / behind Smarty. The directory name has to be terminated with a slash, otherwise Smarty will fail.
please use common herds to assign bugs
in cvs
Oops sorry. My eyes didn't catch that it has to be 'SMARTY_DIR'. So please write define('SMARTY_DIR', '/usr/lib/php/Smarty/') into the ebuild, thank you. SMARTY_DIR alone would throw a warning/notice.
The actual Smarty-2.6.0.ebuild lacks both. einfo "1. define(SMARTY_DIR, \"/usr/lib/php/Smarty\") in your scripts, or"
fixed in CVS.