aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2022-01-14 07:53:56 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2022-01-14 07:53:56 +0000
commit7c6b3a0d74c67f4c726b1abd05df2415d8fbc7dd (patch)
treee579eb826857faf607a5fef5ca7b2735dbae18e1
parentf97a4714f003948a7ba0fab401cd6daf6ffb75a2 (diff)
downloadports-7c6b3a0d74c67f4c726b1abd05df2415d8fbc7dd.tar.gz
ports-7c6b3a0d74c67f4c726b1abd05df2415d8fbc7dd.zip
archivers/libdeflate: the port had been updated to version 1.9.
-rw-r--r--archivers/libdeflate/Makefile3
-rw-r--r--archivers/libdeflate/distinfo6
-rw-r--r--archivers/libdeflate/files/patch-Makefile20
3 files changed, 18 insertions, 11 deletions
diff --git a/archivers/libdeflate/Makefile b/archivers/libdeflate/Makefile
index 8ef701545a67..1326b80df66c 100644
--- a/archivers/libdeflate/Makefile
+++ b/archivers/libdeflate/Makefile
@@ -1,7 +1,7 @@
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
PORTNAME= libdeflate
-PORTVERSION= 1.8
+PORTVERSION= 1.9
DISTVERSIONPREFIX= v
CATEGORIES= archivers
@@ -21,6 +21,7 @@ TEST_TARGET= check
PLIST_FILES= bin/libdeflate-gunzip bin/libdeflate-gzip \
include/libdeflate.h \
+ libdata/pkgconfig/libdeflate.pc \
lib/libdeflate.a lib/libdeflate.so lib/libdeflate.so.0
PORTDOCS= NEWS.md README.md
diff --git a/archivers/libdeflate/distinfo b/archivers/libdeflate/distinfo
index 0aff5615a525..18cdcfd22a9f 100644
--- a/archivers/libdeflate/distinfo
+++ b/archivers/libdeflate/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1626359469
-SHA256 (ebiggers-libdeflate-v1.8_GH0.tar.gz) = 50711ad4e9d3862f8dfb11b97eb53631a86ee3ce49c0e68ec2b6d059a9662f61
-SIZE (ebiggers-libdeflate-v1.8_GH0.tar.gz) = 145823
+TIMESTAMP = 1641965068
+SHA256 (ebiggers-libdeflate-v1.9_GH0.tar.gz) = a537ab6125c226b874c02b166488b326aece954930260dbf682d88fc339137e3
+SIZE (ebiggers-libdeflate-v1.9_GH0.tar.gz) = 157565
diff --git a/archivers/libdeflate/files/patch-Makefile b/archivers/libdeflate/files/patch-Makefile
index 6d26ef749b73..99a4143e5a89 100644
--- a/archivers/libdeflate/files/patch-Makefile
+++ b/archivers/libdeflate/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig 2020-11-10 03:29:50 UTC
+--- Makefile.orig 2022-01-12 05:24:28 UTC
+++ Makefile
-@@ -48,7 +48,7 @@ cc-option = $(shell if $(CC) $(1) -c -x c /dev/null -o
+@@ -54,7 +54,7 @@ cc-option = $(shell if $(CC) $(1) -c -x c /dev/null -o
1>&2 2>/dev/null; then echo $(1); fi)
override CFLAGS := \
@@ -9,12 +9,18 @@
$(call cc-option,-Wpedantic) \
$(call cc-option,-Wdeclaration-after-statement) \
$(call cc-option,-Wmissing-prototypes) \
-@@ -305,9 +305,9 @@ all:$(DEFAULT_TARGETS)
- install:all
- install -d $(DESTDIR)$(LIBDIR) $(DESTDIR)$(INCDIR) $(DESTDIR)$(BINDIR)
+@@ -331,7 +331,7 @@ install:all $(PKGCONFBASE)
+ $(DESTDIR)$(BINDIR)
install -m644 $(STATIC_LIB) $(DESTDIR)$(LIBDIR)
-- install -m755 $(SHARED_LIB) $(DESTDIR)$(LIBDIR)
-+ install -s -m755 $(SHARED_LIB) $(DESTDIR)$(LIBDIR)
+ if [ -z "$(DISABLE_SHARED)" ]; then \
+- install -m755 $(SHARED_LIB) $(DESTDIR)$(LIBDIR); \
++ install -s -m755 $(SHARED_LIB) $(DESTDIR)$(LIBDIR); \
+ fi
+ sed -e "s|@PREFIX@|$(PREFIX)|" \
+ -e "s|@LIBDIR@|$(LIBDIR)|" \
+@@ -340,7 +340,7 @@ install:all $(PKGCONFBASE)
+ $(PKGCONFBASE) > $(DESTDIR)$(LIBDIR)/pkgconfig/libdeflate.pc
+ chmod 644 $(DESTDIR)$(LIBDIR)/pkgconfig/libdeflate.pc
install -m644 libdeflate.h $(DESTDIR)$(INCDIR)
- install -m755 gzip$(PROG_SUFFIX) \
+ install -s -m755 gzip$(PROG_SUFFIX) \