Commit 5f11f909 authored by Natanael Copa's avatar Natanael Copa
Browse files

patch for fakeroot so we dont get ugly output from getopt

parent eec0548c
......@@ -6,10 +6,13 @@ license='GPL'
url="http://packages.debian.org/fakeroot"
depends='uclibc'
makedepends='binutils gcc make linux-headers uclibc-dev'
source=http://ftp.debian.org/debian/pool/main/f/$pkgname/${pkgname}_${pkgver}.tar.gz
subpackages="dev doc"
source="http://ftp.debian.org/debian/pool/main/f/$pkgname/${pkgname}_${pkgver}.tar.gz
getopt.patch"
build() {
cd $startdir/src/$pkgname-$pkgver
patch -p1 < ../getopt.patch
./configure --prefix=/usr #--libdir=/usr/lib/libfakeroot
make || return 1
make DESTDIR=$startdir/pkg install
......
--- fakeroot-1.10.1/scripts/fakeroot.in.orig Tue Nov 4 14:32:03 2008
+++ fakeroot-1.10.1/scripts/fakeroot.in Tue Nov 4 14:32:16 2008
@@ -28,7 +28,7 @@
libfound=no
-GETOPTEST=`getopt --version`
+GETOPTEST=`getopt --version 2>/dev/null`
case $GETOPTEST in
getopt*) # GNU getopt
TEMP=`getopt -l lib: -l faked: -l unknown-is-real -l fd-base: -l version -l help -- +l:f:i:s:ub:vh "$@"`
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment