Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / r-modules / patches / RAppArmor.patch
blobf2dc49bd4766480f499fba25f39beb04972bca44
1 diff -ru -x '*~' RAppArmor_orig/configure RAppArmor/configure
2 --- RAppArmor_orig/configure 2013-12-17 11:23:00.000000000 +0900
3 +++ RAppArmor/configure 2014-10-18 22:22:39.641341244 +0900
4 @@ -1,15 +1,2 @@
5 -if [ ! -e /usr/include/sys/apparmor.h ]
6 -then
7 - echo "sys/apparmor.h not found. Make sure libapparmor-dev is installed."
8 - exit 1
9 -fi
11 -LIBFILE=$(/sbin/ldconfig -p | egrep -oh " [-_a-zA-Z0-9/]*/libapparmor.so(.1)?$")
13 -if [ -z "$LIBFILE" ]
14 -then
15 - echo "libapparmor.so not found. Make sure libapparmor-dev is installed."
16 - exit 1
17 -fi
19 +LIBFILE="$LIBAPPARMOR_HOME/lib/libapparmor.so.1"
20 echo "PKG_LIBS="$LIBFILE > src/Makevars