Bug 121952 - dev-php/smarty should install into lower-case directory
Bug#: 121952 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: trivial Priority: P5
Resolution: FIXED Assigned To: tomk@gentoo.org Reported By: r.s.a.vandomburg@student.utwente.nl
Component: Ebuilds
URL: 
Summary: dev-php/smarty should install into lower-case directory
Keywords:  
Status Whiteboard: 
Opened: 2006-02-07 02:57 0000
Description:   Opened: 2006-02-07 02:57 0000
Currently, dev-php/smarty installs into /usr/lib/php/Smarty while
/usr/lib/php/smarty would suit a lot better. Reason for this is Smarty's own
path auto-detection.

Suppose I /don't/ define SMARTY_DIR and just "require_once
'Smarty/Smarty.class.php' (the default installation directory). This will fail,
because Smarty can't guess it's own plugin path.

Now, I rename /usr/lib/php/Smarty to /usr/lib/php/smarty and "require_once
'smarty/Smarty.class.php'. Result: success.

Actually, the ports system on FreeBSD just does this.

------- Comment #1 From Tom Knight 2006-02-28 14:07:20 0000 -------
Fixed in smarty-2.6.12, thanks for reporting it.