git: c66be866bae4 - main - net/onedrive: update to 2.4.14 and adapt to ld.lld of llvm13

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Wed, 08 Dec 2021 10:36:22 UTC
The branch main has been updated by tagattie:

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

commit c66be866bae45e5563bb563e060b2f9b6615a41a
Author:     Hiroo Ono <hiroo.ono+freebsd@gmail.com>
AuthorDate: 2021-12-08 10:33:48 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2021-12-08 10:36:04 +0000

    net/onedrive: update to 2.4.14 and adapt to ld.lld of llvm13
    
    Changelog: https://github.com/abraunegg/onedrive/blob/v2.4.14/CHANGELOG.md
    
    PR:             260104
    Reported by:    Hiroo Ono <hiroo.ono+freebsd@gmail.com> (maintainer)
---
 net/onedrive/Makefile | 10 ++++++++--
 net/onedrive/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/net/onedrive/Makefile b/net/onedrive/Makefile
index 54839b3280e4..6899fdeb4b61 100644
--- a/net/onedrive/Makefile
+++ b/net/onedrive/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	onedrive
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.4.12
+DISTVERSION=	2.4.14
 CATEGORIES=	net
 
 MAINTAINER=	hiroo.ono+freebsd@gmail.com
@@ -46,4 +46,10 @@ post-extract:
 post-install:
 	${INSTALL} -d -m 0775 ${STAGEDIR}${ONEDRIVE_LOGDIR}
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if (${OSVERSION} >= 1400042)
+CONFIGURE_ARGS+=	DCFLAGS=-L=-Wl,-z,nostart-stop-gc
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/onedrive/distinfo b/net/onedrive/distinfo
index e4678ba23c60..50f0b01b77db 100644
--- a/net/onedrive/distinfo
+++ b/net/onedrive/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1623530759
-SHA256 (abraunegg-onedrive-v2.4.12_GH0.tar.gz) = 4f6aa46fc28e859b63c0a2c190f66c3286ec0bde3f54f77af0ddea6b62bba37a
-SIZE (abraunegg-onedrive-v2.4.12_GH0.tar.gz) = 1034187
+TIMESTAMP = 1637887291
+SHA256 (abraunegg-onedrive-v2.4.14_GH0.tar.gz) = 32c6835ddd2b8c6febc1ec904380cc88a92e7fecfacff8ac4cc6271805c4214f
+SIZE (abraunegg-onedrive-v2.4.14_GH0.tar.gz) = 1130968