summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-10-31 01:25:56 +0100
committerSlávek Banko <slavek.banko@axis.cz>2020-10-31 01:26:08 +0100
commitbf83c213311228cac7361c123ee73d10b664ddbd (patch)
treed2a2c9cabf0c9725826019d65f429d7ff5607eb8
parentd9e988ac8dc5ce324b60f992133ed3a881864801 (diff)
downloadtde-packaging-bf83c213311228cac7361c123ee73d10b664ddbd.tar.gz
tde-packaging-bf83c213311228cac7361c123ee73d10b664ddbd.zip
FreeBSD: Allow to use short version number of preliminary packages
- simple suffix ~preXX without having to specify GIT hash. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--freebsd/trinity.port.mk2
1 files changed, 1 insertions, 1 deletions
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