--- Makefile.PL.orig 2012-04-05 10:25:15.000000000 +0200 +++ Makefile.PL 2012-04-17 12:20:45.000000000 +0200 @@ -95,22 +95,12 @@ # for some reason, initialising variables from the global scope doesn't work %variables = ( - PREFIX => '/usr/local', - INSTALLSCRIPT => '$(PREFIX)/bin', - INSTALLSITESCRIPT => '$(PREFIX)/bin', - INSTALLVENDORSCRIPT => '$(PREFIX)/bin', INSTALLLIB => '$(DATADIR)/lib', INSTALLSITELIB => '$(DATADIR)/lib', INSTALLVENDORLIB => '$(DATADIR)/lib', - INSTALLMAN1DIR => '$(PREFIX)/share/man/man1', - INSTALLSITEMAN1DIR => '$(PREFIX)/share/man/man1', - INSTALLVENDORMAN1DIR => '$(PREFIX)/share/man/man1', - INSTALLMAN3DIR => '$(PREFIX)/share/man/man3', - INSTALLSITEMAN3DIR => '$(PREFIX)/share/man/man3', - INSTALLVENDORMAN3DIR => '$(PREFIX)/share/man/man3', SYSCONFDIR => '$(PREFIX)/etc/fusioninventory', DATADIR => '$(PREFIX)/share/fusioninventory', - LOCALSTATEDIR => '$(PREFIX)/var/fusioninventory', + LOCALSTATEDIR => '/var/run/fusioninventory', ); # allow variables defined on command line to override defaults