From ed91f631653d81750395014a91562750ae37e963 Mon Sep 17 00:00:00 2001 From: jca Date: Mon, 4 Feb 2019 16:23:30 +0000 Subject: [PATCH] Fix DISTNAME/PKGNAME Encode the "vX" part in distfiles, translated as "plX" in PKGNAME. Makes it possible to update to v2.48.15v4, which is needed with newer OCaml version. ok sthen@ bket@ (maintainer) --- net/unison/2.4x/Makefile | 7 +++---- net/unison/2.4x/distinfo | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/net/unison/2.4x/Makefile b/net/unison/2.4x/Makefile index 84b5353bda0..d2fdab85bb0 100644 --- a/net/unison/2.4x/Makefile +++ b/net/unison/2.4x/Makefile @@ -1,13 +1,12 @@ -# $OpenBSD: Makefile,v 1.3 2018/09/04 12:46:19 espie Exp $ +# $OpenBSD: Makefile,v 1.4 2019/02/04 16:23:30 jca Exp $ VER= 2.48.15 REV= v3 -REVISION= 1 GH_TAGNAME= v${VER}${REV} -DISTNAME= ${GH_PROJECT}-${VER} +PKGNAME= unison-${VER}${REV:S/^v/pl/} PORTROACH= limit:^2\.4 -WRKDIST= ${WRKDIR}/${PKGNAME}${REV}/src +WRKDIST= ${WRKDIR}/${DISTNAME}/src .include diff --git a/net/unison/2.4x/distinfo b/net/unison/2.4x/distinfo index fa7c97b7980..7b4047a9693 100644 --- a/net/unison/2.4x/distinfo +++ b/net/unison/2.4x/distinfo @@ -1,2 +1,2 @@ -SHA256 (unison-2.48.15.tar.gz) = 2DfbASwkH4/0Bdu5a/0EnirXc4n8LVv78gjyOpvfSuI= -SIZE (unison-2.48.15.tar.gz) = 1911724 +SHA256 (unison-2.48.15v3.tar.gz) = 2DfbASwkH4/0Bdu5a/0EnirXc4n8LVv78gjyOpvfSuI= +SIZE (unison-2.48.15v3.tar.gz) = 1911724