- Update to 2.91

This commit is contained in:
Danilo Egea Gondolfo 2017-01-01 00:08:52 +00:00
parent 931513685c
commit d0c6709e9c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=430180
3 changed files with 10 additions and 10 deletions

View file

@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= apngasm
PORTVERSION= 2.9
PORTVERSION= 2.91
DISTVERSIONSUFFIX=-src
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}

View file

@ -1,2 +1,3 @@
SHA256 (apngasm-2.9-src.zip) = 5dfd34c9a560da81f91d37b891e23761c74659fe36e04ab2a46696562a9ed876
SIZE (apngasm-2.9-src.zip) = 573944
TIMESTAMP = 1482071398
SHA256 (apngasm-2.91-src.zip) = 4534b82a7339a0fa250f13445ad6e83fe878db5f3223b8276339581e7344a987
SIZE (apngasm-2.91-src.zip) = 597267

View file

@ -1,18 +1,18 @@
--- ./Makefile.orig 2013-12-18 15:23:41.000000000 -0200
+++ ./Makefile 2013-12-18 15:23:54.000000000 -0200
--- Makefile.orig 2016-12-31 16:31:37 UTC
+++ Makefile
@@ -1,10 +1,18 @@
PACKAGE = apngasm
-CC = gcc
-SRC_DIRS = . 7z zopfli
-CFLAGS = -Wall -pedantic
-CFLAGS = -Wall -pedantic -DFEATURE_7ZIP -DFEATURE_ZOPFLI
-CFLAGS_OPT = -O2
-CFLAGS_7Z = -Wno-sign-compare -Wno-reorder -Wno-maybe-uninitialized -Wno-parentheses
-LIBS = -lstdc++ -lm -lpng -lz
+CC ?= cc
+CXX ?= c++
+SRC_DIRS = . 7z
+CFLAGS += -Wall -pedantic
+CXXFLAGS += -Wall -pedantic
+CFLAGS += -Wall -pedantic -DFEATURE_7ZIP -DFEATURE_ZOPFLI
+CXXFLAGS += -Wall -pedantic -DFEATURE_7ZIP -DFEATURE_ZOPFLI
+CPPFLAGS += $(shell libpng-config --cflags)
+CFLAGS_7Z = -Wno-sign-compare -Wno-reorder -Wno-parentheses
+ifeq ($(strip $(STATIC)),)
@ -25,7 +25,7 @@
INCUDE_DIRS := $(addprefix -I./, $(SRC_DIRS))
OBJ_DIRS := $(addprefix obj/, $(SRC_DIRS))
@@ -16,19 +23,19 @@
@@ -16,19 +24,19 @@ OBJECTS := $(OBJECTS:.cpp=.o)
all : $(PACKAGE)
$(PACKAGE) : objdirs $(OBJECTS)