git: 7c6b3a0d74c6 - main - archivers/libdeflate: the port had been updated to version 1.9.

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Fri, 14 Jan 2022 07:54:33 UTC
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7c6b3a0d74c67f4c726b1abd05df2415d8fbc7dd

commit 7c6b3a0d74c67f4c726b1abd05df2415d8fbc7dd
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2022-01-14 07:53:56 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2022-01-14 07:53:56 +0000

    archivers/libdeflate: the port had been updated to version 1.9.
---
 archivers/libdeflate/Makefile             |  3 ++-
 archivers/libdeflate/distinfo             |  6 +++---
 archivers/libdeflate/files/patch-Makefile | 20 +++++++++++++-------
 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) \