Fix the sudo non-root do_install.
authorChris Larson <clarson@kergoth.com>
Sun, 2 Nov 2003 03:48:23 +0000 (03:48 +0000)
committerChris Larson <clarson@kergoth.com>
Sun, 2 Nov 2003 03:48:23 +0000 (03:48 +0000)
BKrev: 3fa47e87tmH9RPKIPgVGt0l_1LYXzw

sudo/sudo-1.6.7p5/nonrootinstall.patch [new file with mode: 0644]
sudo/sudo_1.6.7p5.oe

diff --git a/sudo/sudo-1.6.7p5/nonrootinstall.patch b/sudo/sudo-1.6.7p5/nonrootinstall.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..6d1f9cb 100644 (file)
@@ -0,0 +1,14 @@
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI = ftp://ftp.sudo.ws/pub/sudo/sudo-${PV}.tar.gz \
+         file://${FILESDIR}/configure.patch;patch=1 \
+         file://${FILESDIR}/nonrootinstall.patch;patch=1
+
+inherit autotools
+
+do_configure_prepend () {
+       if [ ! -e acinclude.m4 ]; then
+               cat aclocal.m4 > acinclude.m4
+       fi
+}