ports/opt (3.4): mailx: remove build warnings from gawk 5
commit f1eabf0e931c33a4503c1f4e1b1c0eb64022a8e7 Author: Juergen Daubert <jue@jue.li> Date: Mon Jun 3 12:43:40 2019 +0200 mailx: remove build warnings from gawk 5 diff --git a/mailx/.signature b/mailx/.signature index b7a13a142..3024ca633 100644 --- a/mailx/.signature +++ b/mailx/.signature @@ -1,5 +1,6 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/SM5cTHpmTDZaqPl6ZTBI9IQBK8TbhoMLWo+N38H7IS7AlS6Sr5FWCpfzcCfE5XvPle9HbuRrQroUvlUvAnbFwI= -SHA256 (Pkgfile) = 368fec602ee57ed03969699da862860e43e5fcee89ff6e3ec675ddd31f0d84c5 +RWSE3ohX2g5d/SPebIcWDrExsIiK/1a/JQF6TRpmWdjmxrAuTaedl5hY3+KSiNZasqohCDEbVOd9yHvjC5sgvMc2/5ObUR2mTQA= +SHA256 (Pkgfile) = b765f8ffe252ca3ac81c2f4340ba4ad9ef72116ca9a3dd040c7c755ce38f5bf7 SHA256 (.footprint) = 62549f5c884508081b5c4bff99e25cda7d85b983b584502a3e5a8e027f46a985 SHA256 (s-nail-14.9.13.tar.xz) = edfa287d04bfcd03dd1c23277885b385ff47cfff92d0a116467996addba9ddd4 +SHA256 (s-nail-14.9.13.diff) = 583fd2687c5a685bb0c35cf80cde9405d41c049dcd4f05cae95450e5f8929f18 diff --git a/mailx/Pkgfile b/mailx/Pkgfile index 561df1b64..a30733b4c 100644 --- a/mailx/Pkgfile +++ b/mailx/Pkgfile @@ -6,11 +6,14 @@ name=mailx version=14.9.13 release=1 -source=(https://www.sdaoden.eu/downloads/s-nail-$version.tar.xz) +source=(https://www.sdaoden.eu/downloads/s-nail-$version.tar.xz + s-nail-$version.diff) build() { cd s-nail-$version + patch -p1 -i $SRC/s-nail-$version.diff + make config \ VAL_SID= \ VAL_MAILX=mailx \ diff --git a/mailx/s-nail-14.9.13.diff b/mailx/s-nail-14.9.13.diff new file mode 100644 index 000000000..7b090eccf --- /dev/null +++ b/mailx/s-nail-14.9.13.diff @@ -0,0 +1,14 @@ +diff -Nru s-nail-14.9.13.orig/mk/make-config.sh s-nail-14.9.13/mk/make-config.sh +--- s-nail-14.9.13.orig/mk/make-config.sh 2019-06-02 15:22:54.932415908 +0200 ++++ s-nail-14.9.13/mk/make-config.sh 2019-06-02 15:24:18.893390828 +0200 +@@ -861,8 +861,8 @@ + else + j=`${awk} -v LINE="${line}" 'BEGIN{ + gsub(/^[^=]*=/, "", LINE) +- gsub(/^\"*/, "", LINE) +- gsub(/\"*$/, "", LINE) ++ gsub(/^"*/, "", LINE) ++ gsub(/"*$/, "", LINE) + print LINE + }'` + fi
participants (1)
-
crux@crux.nu