libapparmor: build perl bindings

There are still a few utils which use Perl, though most have been ported to
Python. Note that SWIG v2 is required to avoid the `error: 'bool' undeclared`
build failure with Perl >=5.16 [1].

[1]: 4305a3cef9
This commit is contained in:
Joachim Fasting 2015-04-07 10:58:08 +02:00
parent 38dc021b16
commit d3ea6abf0e
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ let
buildPhase = ''
cd ./libraries/libapparmor
./autogen.sh
./configure --prefix="$out" --with-python
./configure --prefix="$out" --with-python --with-perl
make
'';

View File

@ -8676,7 +8676,7 @@ let
perl = perl516; # ${perl}/.../CORE/handy.h:124:34: error: 'bool' undeclared
};
apparmor_2_9 = callPackage ../os-specific/linux/apparmor/2.9 { };
apparmor_2_9 = callPackage ../os-specific/linux/apparmor/2.9 { swig = swig2; };
libapparmor = apparmor_2_9.libapparmor;
apparmor-pam = apparmor_2_9.apparmor-pam;
apparmor-parser = apparmor_2_9.apparmor-parser;