freebsd-ports/ftp/bareftp/files/patch-configure
Raphael Kubo da Costa 73dc246493 Update to 0.3.12.
Release notes: http://www.bareftp.org/news/?p=279
Basically, there are only translation updates.

While here:
- Replace patch-configure and patch-po-LINGUAS (which were basically working
  around the GNU sed-isms in m4/shamrock/i18n.m4) with an awk call in the
  configure script.
2016-02-21 16:06:29 +00:00

12 lines
430 B
Text

Work around the GNU sed-isms below with an awk script.
--- configure.orig 2016-02-21 15:54:50 UTC
+++ configure
@@ -13947,7 +13947,7 @@ done
#IT_PROG_INTLTOOL([0.35.0])
#AC_PROG_INTLTOOL([0.21])
- ALL_LINGUAS=`grep -v '^#' $srcdir/po/LINGUAS | sed -r ':a;N;$!ba;s/\n/ /g; s/[ ]+/ /g'`
+ ALL_LINGUAS=`grep -v '^#' $srcdir/po/LINGUAS | awk 'BEGIN {OR=""; ORS=" "} {print NR": "$1 }' po/LINGUAS`
GETTEXT_PACKAGE=$PACKAGE