summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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