]> Sergey Matveev's repositories - public-inbox.git/blobdiff - Makefile.PL
Makefile.PL: allow `N' variable to be set in local config.mak
[public-inbox.git] / Makefile.PL
index 6be913b168f58cf4dd7a86bb67ab1dcb5cf5f74d..f79697ba22960b22a25c283a48450a730478015b 100644 (file)
@@ -38,10 +38,6 @@ WriteMakefile(
                # `perl5' on FreeBSD
                'Encode' => 0,
 
-               # libperl$PERL_VERSION on Debian, `perl5' on FreeBSD,
-               # but Fedora seems to need this separately
-               'Devel::Peek' => 0,
-
                # TODO: these should really be made optional...
                'Plack' => 0,
                'URI::Escape' => 0,
@@ -57,9 +53,9 @@ sub MY::postamble {
 # support using eatmydata to speed up tests (apt-get install eatmydata):
 # https://www.flamingspork.com/projects/libeatmydata/
 EATMYDATA =
+N = \$\$(( \$\$(nproc 2>/dev/null || gnproc 2>/dev/null || echo 2) + 1 ))
 -include config.mak
 -include Documentation/include.mk
-N = \$\$(( \$\$(nproc 2>/dev/null || gnproc 2>/dev/null || echo 2) + 1 ))
 SCRIPTS := scripts/ssoma-replay
 my_syntax := \$(addsuffix .syntax, $PM_FILES \$(EXE_FILES) \$(SCRIPTS))