git: ba1e187008f2 - main - devel/libdap: Update to 3.21.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 03 Feb 2025 15:56:03 UTC
The branch main has been updated by sunpoet:

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

commit ba1e187008f2e17697e70ca7ee38e7d7730e31f5
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-02-03 15:16:19 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-02-03 15:50:46 +0000

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

diff --git a/devel/libdap/Makefile b/devel/libdap/Makefile
index f5be21b9e059..2dff673f7c19 100644
--- a/devel/libdap/Makefile
+++ b/devel/libdap/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	libdap
-DISTVERSION=	3.21.0-27
+PORTVERSION=	3.21.1
 CATEGORIES=	devel
 MASTER_SITES=	https://www.opendap.org/pub/source/ \
 		LOCAL/sunpoet
@@ -23,6 +23,5 @@ CONFIGURE_ARGS=	ac_cv_lib_crypto_OpenSSL_add_all_algorithms=yes \
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
-WRKSRC=		${WRKDIR}/libdap-${PORTVERSION:R}
 
 .include <bsd.port.mk>
diff --git a/devel/libdap/distinfo b/devel/libdap/distinfo
index 6b1ce02b8419..20b6fa7da809 100644
--- a/devel/libdap/distinfo
+++ b/devel/libdap/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1709390364
-SHA256 (libdap-3.21.0-27.tar.gz) = b5b8229d3aa97fea9bba4a0b11b1ee1c6446bd5f7ad2cff591f86064f465eacf
-SIZE (libdap-3.21.0-27.tar.gz) = 2854614
+TIMESTAMP = 1738088826
+SHA256 (libdap-3.21.1.tar.gz) = 1f6c084bdbf2686121f9b2f5e767275c1e37d9ccf67c8faabc762389f95a0c38
+SIZE (libdap-3.21.1.tar.gz) = 2622133
diff --git a/devel/libdap/files/patch-configure b/devel/libdap/files/patch-configure
index aa5b17656c44..db2609d86fae 100644
--- a/devel/libdap/files/patch-configure
+++ b/devel/libdap/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig	2024-01-04 16:04:42 UTC
+--- configure.orig	2025-01-13 23:08:14 UTC
 +++ configure
-@@ -31688,30 +31688,6 @@ fi
+@@ -33838,32 +33838,6 @@ fi
  
  
  
@@ -9,22 +9,24 @@
 -
 -        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Found a RHEL 8 or equivalent system..." >&5
 -printf "%s\n" "$as_me: Found a RHEL 8 or equivalent system..." >&6;}
--        if grep -q -v tirpc <<< $CPPFLAGS || grep -q -v tirpc <<< $LDFLAGS
+-        if echo $CPPFLAGS | grep -q -v tirpc || echo $LDFLAGS | grep -q -v tirpc
 -then :
 -
 -            as_fn_error $? "Libdap4 on Redhat Linux 8 requires the tirpc library be included on CPPFLAGS and LDFLAGS" "$LINENO" 5
 -
--else $as_nop
--  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: and CPPFLAGS and LDFLAGS are set" >&5
+-else case e in #(
+-  e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: and CPPFLAGS and LDFLAGS are set" >&5
 -printf "%s\n" "$as_me: and CPPFLAGS and LDFLAGS are set" >&6;}
--
+-         ;;
+-esac
 -fi
 -
--else $as_nop
--
+-else case e in #(
+-  e)
 -        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Not a RHEL 8 or equivalent system" >&5
 -printf "%s\n" "$as_me: Not a RHEL 8 or equivalent system" >&6;}
--
+-     ;;
+-esac
 -fi
 -
 -
diff --git a/devel/libdap/pkg-plist b/devel/libdap/pkg-plist
index fad22a51b361..7ba1b7220f55 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.2.0
+lib/libdap.so.27.3.0
 lib/libdapclient.a
 lib/libdapclient.so
 lib/libdapclient.so.6