aboutsummaryrefslogtreecommitdiff
path: root/graphics/pngquant
diff options
context:
space:
mode:
authorAlex Kozlov <ak@FreeBSD.org>2018-02-03 15:18:19 +0000
committerAlex Kozlov <ak@FreeBSD.org>2018-02-03 15:18:19 +0000
commit90928eb46ee304e9b24b41a50f2bd649fe16284d (patch)
tree99110d055c1e4192cbe895568bfdc941df6b2b7a /graphics/pngquant
parent227ed9abe1e8d512d95b5f20da8c80bdb06a98ab (diff)
downloadports-90928eb46ee304e9b24b41a50f2bd649fe16284d.tar.gz
ports-90928eb46ee304e9b24b41a50f2bd649fe16284d.zip
- Update to 2.11.7
Notes
Notes: svn path=/head/; revision=460820
Diffstat (limited to 'graphics/pngquant')
-rw-r--r--graphics/pngquant/Makefile2
-rw-r--r--graphics/pngquant/distinfo6
-rw-r--r--graphics/pngquant/files/patch-configure18
3 files changed, 7 insertions, 19 deletions
diff --git a/graphics/pngquant/Makefile b/graphics/pngquant/Makefile
index 376df4a7431f..8bb76f2ed4f4 100644
--- a/graphics/pngquant/Makefile
+++ b/graphics/pngquant/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pngquant
-PORTVERSION= 2.11.2
+PORTVERSION= 2.11.7
DISTVERSIONSUFFIX= -src
CATEGORIES= graphics
MASTER_SITES= http://pngquant.org/
diff --git a/graphics/pngquant/distinfo b/graphics/pngquant/distinfo
index 08dcf44d3a83..7aad081b4aeb 100644
--- a/graphics/pngquant/distinfo
+++ b/graphics/pngquant/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1510574278
-SHA256 (pngquant-2.11.2-src.tar.gz) = c8142084d056ad35b5c2616077735f40453202f4b47e99a762fe0f9ac305112b
-SIZE (pngquant-2.11.2-src.tar.gz) = 141729
+TIMESTAMP = 1517669180
+SHA256 (pngquant-2.11.7-src.tar.gz) = d70b46c3335c7abf21944aced2d9d2b54819ab84ed1a140b354d5e8cc9f0fb0a
+SIZE (pngquant-2.11.7-src.tar.gz) = 141959
diff --git a/graphics/pngquant/files/patch-configure b/graphics/pngquant/files/patch-configure
index c2f5722300b7..ccc2b6beefc5 100644
--- a/graphics/pngquant/files/patch-configure
+++ b/graphics/pngquant/files/patch-configure
@@ -1,5 +1,5 @@
Index: configure
-@@ -1,15 +1,15 @@
+@@ -1,11 +1,11 @@
-#!/usr/bin/env bash
+#!/bin/sh
@@ -13,11 +13,6 @@ Index: configure
SSE=auto
OPENMP=
LIBPNG_DIR=.
--if [[ "$OSTYPE" =~ "darwin" ]]; then
-+if echo "$OSTYPE" | grep -q "darwin"; then
- COCOA_READER=auto
- LCMS2=0
- else
@@ -41,7 +41,7 @@
help "--with-libimagequant=<dir> external libimagequant (lib/ default)"
help "--with-openmp=static compile with multicore support"
@@ -153,7 +148,7 @@ Index: configure
cflags "$OPENMPFLAGS"
lflags "$OPENMPFLAGS"
status "OpenMP" "yes"
-@@ -350,11 +349,13 @@
+@@ -342,7 +342,7 @@
fi
# Cocoa
@@ -161,14 +156,7 @@ Index: configure
+if echo "$OSTYPE" | grep -q "darwin"; then
cflags "-mmacosx-version-min=10.6"
lflags "-mmacosx-version-min=10.6"
-
-- if [ "$COCOA_READER" != 0 ] && "$CC" 2>/dev/null 1>/dev/null -xc -E <(echo "#import <Cocoa/Cocoa.h>"); then
-+ if [ "$COCOA_READER" != 0 ] && \
-+ echo "#import <Cocoa/Cocoa.h>" | \
-+ "$CC" 2>/dev/null 1>/dev/null -xc -E -; then
- COCOA_READER=1
- cflags "-DUSE_COCOA=1"
- lflags "-framework Cocoa"
+ fi
@@ -365,32 +366,29 @@
fi