Files
nixpkgs/pkgs/development/r-modules/patches/RAppArmor.patch
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

21 lines
639 B
Diff

diff -ru -x '*~' RAppArmor_orig/configure RAppArmor/configure
--- RAppArmor_orig/configure 2013-12-17 11:23:00.000000000 +0900
+++ RAppArmor/configure 2014-10-18 22:22:39.641341244 +0900
@@ -1,15 +1,2 @@
-if [ ! -e /usr/include/sys/apparmor.h ]
-then
- echo "sys/apparmor.h not found. Make sure libapparmor-dev is installed."
- exit 1
-fi
-
-LIBFILE=$(/sbin/ldconfig -p | egrep -oh " [-_a-zA-Z0-9/]*/libapparmor.so(.1)?$")
-
-if [ -z "$LIBFILE" ]
-then
- echo "libapparmor.so not found. Make sure libapparmor-dev is installed."
- exit 1
-fi
-
+LIBFILE="$LIBAPPARMOR_HOME/lib/libapparmor.so.1"
echo "PKG_LIBS="$LIBFILE > src/Makevars