aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mk/bsd.sites.mk2
-rw-r--r--math/mpfrc++/Makefile2
2 files changed, 1 insertions, 3 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index c205a378865a..ba3124b51421 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -434,7 +434,7 @@ GH_SUBDIR:= ${GH_SUBDIR_DEFAULT}
GH_TAGNAME_SANITIZED= ${GH_TAGNAME:S,/,-,g}
# GitHub silently converts tags starting with v to not have v in the filename
# and extraction directory. It also replaces + with -.
-GH_TAGNAME_EXTRACT= ${GH_TAGNAME_SANITIZED:C/^[vV]([0-9])/\1/:S/+/-/g}
+GH_TAGNAME_EXTRACT= ${GH_TAGNAME_SANITIZED:C/^[vV]([0-9])/\1/:S/+/-/g:C/--*/-/g}
. endif
# This new scheme rerolls distfiles. Also ensure they are renamed to avoid
# conflicts. Use _GITHUB_REV in case github changes their zipping or structure
diff --git a/math/mpfrc++/Makefile b/math/mpfrc++/Makefile
index 822c92a7ad4a..690f98830ed1 100644
--- a/math/mpfrc++/Makefile
+++ b/math/mpfrc++/Makefile
@@ -16,8 +16,6 @@ GH_PROJECT= mpreal
NO_BUILD= yes
NO_ARCH= yes
-WRKSRC= ${WRKDIR}/${GH_PROJECT}-mpfrc-${DISTVERSION}
-
PLIST_FILES= include/mpreal.h
do-install: