CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
gawk: added forgotten pipe.patch
[crossrootfs.git] / gawk / Pkgfile
index f31786c9ce97653456c34e4dcb00eb0a860c7fa5..6e8339f5839c58b55f48954bac697ecbdb1565e2 100644 (file)
@@ -5,12 +5,13 @@
 # Depends on:
 
 name=gawk
-version=4.1.0
-release=1
-source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
+version=4.1.1
+release=2
+source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz pipe.patch)
 
 build() {
   cd $name-$version
+  patch -p1 -i $SRC/pipe.patch
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
@@ -19,9 +20,6 @@ build() {
               --enable-switch \
               --disable-nls
 
-  # Use host's gawk
-  sed "s|../gawk\$(EXEEXT)|gawk|g" -i extension/Makefile.in
-
   make
   make DESTDIR=$PKG install