summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2010-02-14 00:11:00 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2010-02-14 00:11:00 +0000
commit42ed725f6ba3ebe29fb2419108c5c700c9985e7f (patch)
tree476bd13d87adba7926d620ed60ca5ab444c15d91 /sys-fs/cryptsetup/files/1.1.0_rc3-static-no-selinux.patch
parentBump (diff)
downloadgentoo-2-42ed725f6ba3ebe29fb2419108c5c700c9985e7f.tar.gz
gentoo-2-42ed725f6ba3ebe29fb2419108c5c700c9985e7f.tar.bz2
gentoo-2-42ed725f6ba3ebe29fb2419108c5c700c9985e7f.zip
Version bump per bug #294934.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs/cryptsetup/files/1.1.0_rc3-static-no-selinux.patch')
-rw-r--r--sys-fs/cryptsetup/files/1.1.0_rc3-static-no-selinux.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys-fs/cryptsetup/files/1.1.0_rc3-static-no-selinux.patch b/sys-fs/cryptsetup/files/1.1.0_rc3-static-no-selinux.patch
new file mode 100644
index 000000000000..d64867d42352
--- /dev/null
+++ b/sys-fs/cryptsetup/files/1.1.0_rc3-static-no-selinux.patch
@@ -0,0 +1,18 @@
+diff -Naur cryptsetup-1.1.0-rc3/configure.in cryptsetup-1.1.0-rc3-areyoufuckingserious/configure.in
+--- cryptsetup-1.1.0-rc3/configure.in 2009-11-16 17:39:37.000000000 -0500
++++ cryptsetup-1.1.0-rc3-areyoufuckingserious/configure.in 2009-11-17 19:49:08.000000000 -0500
+@@ -93,9 +93,11 @@
+ saved_LIBS2=$LIBS
+ LIBS="$LIBS -static"
+ # Check if it there is still not some missing dependency like static selinux libs
+- AC_SEARCH_LIBS([dm_set_selinux_context], [devmapper],,
+- [AC_MSG_ERROR([Your system requires SElinux libraries for static compilation.])])
+- LIBS=$saved_LIBS2
++ if test "x$enable_selinux" != xno; then
++ AC_SEARCH_LIBS([dm_set_selinux_context], [devmapper],,
++ [AC_MSG_ERROR([Your system requires SElinux libraries for static compilation.])])
++ LIBS=$saved_LIBS2
++ fi
+ fi
+
+ LIBS=$saved_LIBS