CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
ed: fixed cflags usage
authorJose V Beneyto <sepen@crux.nu>
Wed, 9 Dec 2009 20:23:30 +0000 (21:23 +0100)
committerJose V Beneyto <sepen@crux.nu>
Wed, 9 Dec 2009 20:23:30 +0000 (21:23 +0100)
ed/Pkgfile

index e357f2625ee877fdaf246c9d2007aea707793dfb..dbbd3810bc5685ef688afaa88d167556c91feedf 100644 (file)
@@ -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
 }