[mythtv] [mythtv-commits] Ticket #4135: perl bindings default prefix isambiguous

Mark Spieth mark at dclabs.com.au
Tue Nov 6 00:33:54 UTC 2007


> Comment:
>
> closing as invalid
>
> that line lets PERL use its default prefix if PREFIX is "/usr" or
> "/usr/local" omitting the final '/'

-contains(PREFIX, ^/usr(/local)?/?$) {

my reading is /local is optional
final / is optional

which means it matches
/usr
/usr/
/usr/local
/usr/local/

the replacement is
 +contains(PREFIX, ^/usr/local/?$) {

matching
/usr/local
/usr/local/

which is what Makefile defaults to with no prefix.

leave close if you think but my source has this in otherwise it doesnt work 
with PREFIX=/usr

mark



More information about the mythtv-dev mailing list