From bf83c213311228cac7361c123ee73d10b664ddbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 31 Oct 2020 01:25:56 +0100 Subject: FreeBSD: Allow to use short version number of preliminary packages - simple suffix ~preXX without having to specify GIT hash. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- freebsd/trinity.port.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freebsd/trinity.port.mk b/freebsd/trinity.port.mk index 7536bd336..0c93d1fbd 100644 --- a/freebsd/trinity.port.mk +++ b/freebsd/trinity.port.mk @@ -22,7 +22,7 @@ EXTRACT_BASE= # tarballs from nightly-builds not contains directory by name of p .else EXTRACT_BASE= ${DISTSRC}/ .endif -EXTRACT_AFTER_ARGS+=--transform "s|^\(${DISTSRC}\)\?|${DISTNAME}/|S" --wildcards +EXTRACT_AFTER_ARGS+=--transform "s|^\(${DISTSRC}[^/]*\)\?|${DISTNAME}/|S" --wildcards ### General build options -- cgit v1.2.3