From: Jose V Beneyto Date: Wed, 9 Dec 2009 20:23:30 +0000 (+0100) Subject: ed: fixed cflags usage X-Git-Url: http://gitweb/?a=commitdiff_plain;h=fb40565cc4ad41f4396b719e30664c14fc0311ab;p=crossrootfs.git ed: fixed cflags usage --- diff --git a/ed/Pkgfile b/ed/Pkgfile index e357f26..dbbd381 100644 --- a/ed/Pkgfile +++ b/ed/Pkgfile @@ -2,6 +2,7 @@ # URL: http://www.gnu.org/software/ed/ed.html # Maintainer: CRUX System Team, core-ports at crux dot nu # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org +# Depends on: name=ed version=1.4 @@ -10,15 +11,14 @@ source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.gz) build() { cd $name-$version - + ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ --exec-prefix=/ \ - --mandir=/usr/man \ - CC="$CC" CXX="$CXX" + --mandir=/usr/man - make + make CC="$CC" CFLAGS="$CFLAGS" CXX="$CXX" CXXFLAGS="$CXXFLAGS" make DESTDIR=$PKG install rm -r $PKG/usr/share }