Bug 35534 - dev-php/smarty-2.6.0_rc1-r1: wrong einfo
Bug#: 35534 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: php-bugs@gentoo.org Reported By: phil@lordaeron.in-berlin.de
Component: Ebuilds
URL: 
Summary: dev-php/smarty-2.6.0_rc1-r1: wrong einfo
Keywords:  
Status Whiteboard: 
Opened: 2003-12-10 10:04 0000
Description:   Opened: 2003-12-10 10:04 0000
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.

------- Comment #1 From Martin Holzer (RETIRED) 2003-12-11 02:05:48 0000 -------
please use common herds to assign bugs

------- Comment #2 From Martin Holzer (RETIRED) 2003-12-15 15:46:53 0000 -------
in cvs

------- Comment #3 From Philipp Kern 2003-12-21 07:13:53 0000 -------
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.

------- Comment #4 From Philipp Kern 2003-12-24 04:26:07 0000 -------
The actual Smarty-2.6.0.ebuild lacks both.

einfo "1. define(SMARTY_DIR, \"/usr/lib/php/Smarty\") in your scripts, or"

------- Comment #5 From Robin Johnson 2004-01-04 20:12:59 0000 -------
fixed in CVS.