spamassassin: site-wide rules are in $out/share/spamassassin; user-rules in /etc/spamassassin
This commit is contained in:
parent
a596022d80
commit
74c0850efd
@ -27,9 +27,13 @@ buildPerlPackage rec {
|
|||||||
# for the PERL5LIB environment variable. Needs further investigation.
|
# for the PERL5LIB environment variable. Needs further investigation.
|
||||||
makeFlags = "PERL_BIN=${perl}/bin/perl PERL_TAINT=no";
|
makeFlags = "PERL_BIN=${perl}/bin/perl PERL_TAINT=no";
|
||||||
|
|
||||||
|
makeMakerFlags = "CONFDIR=/etc/spamassassin LOCALSTATEDIR=/var/lib/spamassassin";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
mv "rules/"* $out/share/spamassassin/
|
||||||
|
|
||||||
for n in "$out/bin/"*; do
|
for n in "$out/bin/"*; do
|
||||||
wrapProgram "$n" --prefix PERL5LIB : "$PERL5LIB"
|
wrapProgram "$n" --prefix PERL5LIB : "$PERL5LIB"
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user