Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121952 - dev-php/smarty should install into lower-case directory
Summary: dev-php/smarty should install into lower-case directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: Lowest trivial (vote)
Assignee: Tom Knight (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-07 02:57 UTC by Roderick van Domburg
Modified: 2006-02-28 14:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roderick van Domburg 2006-02-07 02:57:13 UTC
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 Tom Knight (RETIRED) gentoo-dev 2006-02-28 14:07:20 UTC
Fixed in smarty-2.6.12, thanks for reporting it.