git: ac03e21bace6 - main - devel/libatomic_ops: Use release archive

From: Rodrigo Osorio <rodrigo_at_FreeBSD.org>
Date: Wed, 19 Jan 2022 13:26:30 UTC
The branch main has been updated by rodrigo:

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

commit ac03e21bace6c8428944be8f05c82bd7d978a8ed
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2022-01-19 13:08:39 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2022-01-19 13:18:13 +0000

    devel/libatomic_ops: Use release archive
    
    Use release archive instead of USE_GITHUB as suggested
    by "Porters Handbook" ; this also remove the need to use
    USES= autoreconf.
    Also remove libltdl dependency
    
    PR:             260877
    Reported by:    diizzy
---
 devel/libatomic_ops/Makefile | 10 +++-------
 devel/libatomic_ops/distinfo |  6 +++---
 2 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/devel/libatomic_ops/Makefile b/devel/libatomic_ops/Makefile
index d74b4ac381ff..665733957f15 100644
--- a/devel/libatomic_ops/Makefile
+++ b/devel/libatomic_ops/Makefile
@@ -1,9 +1,9 @@
 # Created by: Stanislav Sedov <stas@FreeBSD.org>
 
 PORTNAME=	libatomic_ops
-PORTVERSION=	7.6.12
-DISTVERSIONPREFIX=	v
+DISTVERSION=	7.6.12
 CATEGORIES=	devel
+MASTER_SITES=	https://github.com/ivmai/${PORTNAME}/releases/download/v${DISTVERSION}/
 
 MAINTAINER=	rodrigo@FreeBSD.org
 COMMENT=	Atomic operations access library
@@ -12,12 +12,8 @@ LICENSE=	BSD2CLAUSE GPLv2
 LICENSE_COMB=	multi
 LICENSE_FILE_GPLv2=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libltdl.so:devel/libltdl
-
-USES=		autoreconf cpe libtool pathfix
+USES=		cpe libtool pathfix
 GNU_CONFIGURE=	yes
-USE_GITHUB=	yes
-GH_ACCOUNT=	ivmai
 
 CPE_VENDOR=	libatomic_ops_project
 
diff --git a/devel/libatomic_ops/distinfo b/devel/libatomic_ops/distinfo
index 6107bd388472..3a7c0415f00a 100644
--- a/devel/libatomic_ops/distinfo
+++ b/devel/libatomic_ops/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1636754901
-SHA256 (ivmai-libatomic_ops-v7.6.12_GH0.tar.gz) = 18091d5f3cb7008b0432016390ff437b9d1d76c10b92c8e63ff63f0c1331b030
-SIZE (ivmai-libatomic_ops-v7.6.12_GH0.tar.gz) = 138325
+TIMESTAMP = 1641509848
+SHA256 (libatomic_ops-7.6.12.tar.gz) = f0ab566e25fce08b560e1feab6a3db01db4a38e5bc687804334ef3920c549f3e
+SIZE (libatomic_ops-7.6.12.tar.gz) = 506313