git: d8f5185c825c - main - devel/libdap: Update to 3.20.10

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 07 Jul 2022 21:43:41 UTC
The branch main has been updated by sunpoet:

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

commit d8f5185c825c711db1a1a81a334f6db2668a5bd2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-07-07 21:26:33 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-07-07 21:26:33 +0000

    devel/libdap: Update to 3.20.10
    
    Changes:        https://github.com/OPENDAP/libdap4/releases
---
 devel/libdap/Makefile              |  3 +--
 devel/libdap/distinfo              |  6 +++---
 devel/libdap/files/patch-configure | 31 +++++++++++++++++++++++++++++++
 devel/libdap/pkg-plist             |  2 +-
 4 files changed, 36 insertions(+), 6 deletions(-)

diff --git a/devel/libdap/Makefile b/devel/libdap/Makefile
index 89f7ed6065d3..1cab641a55b7 100644
--- a/devel/libdap/Makefile
+++ b/devel/libdap/Makefile
@@ -1,8 +1,7 @@
 # Created by: Wen Heping <wenheping@gmail.com>
 
 PORTNAME=	libdap
-PORTVERSION=	3.20.9
-PORTREVISION=	2
+PORTVERSION=	3.20.10
 CATEGORIES=	devel
 MASTER_SITES=	https://www.opendap.org/pub/source/ \
 		LOCAL/sunpoet
diff --git a/devel/libdap/distinfo b/devel/libdap/distinfo
index c3072c077c5a..e02f882207da 100644
--- a/devel/libdap/distinfo
+++ b/devel/libdap/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1642102135
-SHA256 (libdap-3.20.9.tar.gz) = 77fc93159d2c71d6ace5709babd9dec598285186aecfba358cb623be29a8e5b9
-SIZE (libdap-3.20.9.tar.gz) = 2838651
+TIMESTAMP = 1657198917
+SHA256 (libdap-3.20.10.tar.gz) = d68c8a95916fa6057a5218c79a0f06e4bb2b24c2adff01ccd7e23e1678cabd90
+SIZE (libdap-3.20.10.tar.gz) = 2838473
diff --git a/devel/libdap/files/patch-configure b/devel/libdap/files/patch-configure
new file mode 100644
index 000000000000..40d30d4bd013
--- /dev/null
+++ b/devel/libdap/files/patch-configure
@@ -0,0 +1,31 @@
+--- configure.orig	2022-07-01 21:03:16 UTC
++++ configure
+@@ -30287,28 +30287,6 @@ fi
+ 
+ 
+ 
+-if test -f /etc/redhat-release && grep -q '8\.' /etc/redhat-release; then :
+-
+-        { $as_echo "$as_me:${as_lineno-$LINENO}: Found a RHEL 8 or equivalent system..." >&5
+-$as_echo "$as_me: Found a RHEL 8 or equivalent system..." >&6;}
+-        if grep -q -v tirpc <<< $CPPFLAGS || grep -q -v tirpc <<< $LDFLAGS; then :
+-
+-            as_fn_error $? "Libdap4 on Redhat Linux 8 requires the tirpc library be included on CPPFLAGS and LDFLAGS" "$LINENO" 5
+-
+-else
+-  { $as_echo "$as_me:${as_lineno-$LINENO}: and CPPFLAGS and LDFLAGS are set" >&5
+-$as_echo "$as_me: and CPPFLAGS and LDFLAGS are set" >&6;}
+-
+-fi
+-
+-else
+-
+-        { $as_echo "$as_me:${as_lineno-$LINENO}: Not a RHEL 8 or equivalent system" >&5
+-$as_echo "$as_me: Not a RHEL 8 or equivalent system" >&6;}
+-
+-fi
+-
+-
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
+ $as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
+ if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
diff --git a/devel/libdap/pkg-plist b/devel/libdap/pkg-plist
index 0e934cb732fb..ca5361fc3283 100644
--- a/devel/libdap/pkg-plist
+++ b/devel/libdap/pkg-plist
@@ -141,7 +141,7 @@ include/libdap/xdr-datatypes.h
 lib/libdap.a
 lib/libdap.so
 lib/libdap.so.27
-lib/libdap.so.27.0.5
+lib/libdap.so.27.1.0
 lib/libdapclient.a
 lib/libdapclient.so
 lib/libdapclient.so.6