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
|
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
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"