diff options
author | jperkin <jperkin@pkgsrc.org> | 2017-03-27 13:14:49 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2017-03-27 13:14:49 +0000 |
commit | 9e30cf26f0c349e00dd5640a31cec155dc2f907a (patch) | |
tree | 60bbd3efc31d0624b65d2663946111a354a098ec /graphics | |
parent | d39ace585d1aec43236edf3755d895ef518f35aa (diff) | |
download | pkgsrc-9e30cf26f0c349e00dd5640a31cec155dc2f907a.tar.gz |
Use awk instead of relying on GNU grep features.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/libimagequant/distinfo | 4 | ||||
-rw-r--r-- | graphics/libimagequant/patches/patch-configure | 11 |
2 files changed, 12 insertions, 3 deletions
diff --git a/graphics/libimagequant/distinfo b/graphics/libimagequant/distinfo index 4dcbf8da3e3..463bfc546bc 100644 --- a/graphics/libimagequant/distinfo +++ b/graphics/libimagequant/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.2 2017/03/22 02:13:05 adam Exp $ +$NetBSD: distinfo,v 1.3 2017/03/27 13:14:49 jperkin Exp $ SHA1 (libimagequant-2.9.0.tar.gz) = 3ee01906a5d1660364c23cc2d3d2eb2458f5da8b RMD160 (libimagequant-2.9.0.tar.gz) = 7c2f5ea0d5faae2d5737bc58873be88706e3f536 SHA512 (libimagequant-2.9.0.tar.gz) = dcd6009acfbf8af56121d636dc6bf65f34024452425323dc7e03454a2e39fa66448b864693bbaf2e2513bdf200ae51877e68ba12017bfd413e8ff18f21ecf2ac Size (libimagequant-2.9.0.tar.gz) = 63765 bytes SHA1 (patch-Makefile) = e1bd81385c268e104c9bf8c119c28831ba023d08 -SHA1 (patch-configure) = 94366657d4b524849b9098ecc1490309407716cc +SHA1 (patch-configure) = 361a1be4c617485d3cb1cac96b5f6f28b4b653a7 diff --git a/graphics/libimagequant/patches/patch-configure b/graphics/libimagequant/patches/patch-configure index 5f5c452e6a7..26068cbe3d9 100644 --- a/graphics/libimagequant/patches/patch-configure +++ b/graphics/libimagequant/patches/patch-configure @@ -1,9 +1,18 @@ -$NetBSD: patch-configure,v 1.2 2017/03/22 02:13:05 adam Exp $ +$NetBSD: patch-configure,v 1.3 2017/03/27 13:14:49 jperkin Exp $ Remove unwanted compiler flags. --- configure.orig 2017-03-02 01:07:29.000000000 +0000 +++ configure +@@ -2,7 +2,7 @@ + + CONFIG="config.mk" + PREFIX="/usr/local" +-VERSION=$(grep LIQ_VERSION_STRING libimagequant.h | grep -Eo "2\.[0-9.]+") ++VERSION=$(awk -F\" '/LIQ_VERSION_STRING/ {print $2}' libimagequant.h) + + DEBUG= + SSE=auto @@ -128,7 +128,7 @@ cflags "-std=c99 -I." # DEBUG |