From 963d4848eb70350202edf2d910ff5e59de2d6ab3 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Wed, 11 Sep 2013 11:57:58 +0200 Subject: [PATCH] libcap: fix to not install capfaq outside of the sandbox when cross-compiling --- base/libcap/libcap.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/libcap/libcap.conf b/base/libcap/libcap.conf index f2a51cf05..561f21988 100644 --- a/base/libcap/libcap.conf +++ b/base/libcap/libcap.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../libcap/libcap.conf -# Copyright (C) 2011 The OpenSDE Project +# Copyright (C) 2011 - 2013 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2004 Clifford Wolf # @@ -15,7 +15,7 @@ # --- SDE-COPYRIGHT-NOTE-END --- var_append makeinstopt " " "LIBDIR=$root/$libdir" -hook_add postdoc 5 "rm -rvf $docdir/old; cp -v `match_source_file -p capfaq` $docdir/" +hook_add postdoc 5 "rm -rvf $root$docdir/old; cp -v `match_source_file -p capfaq` $root$docdir/" # When installing setcap, set its inheritable bit to be able to place # capabilities on files. It can be used in conjunction with pam_cap