diff --git a/ports-mgmt/porttools/Makefile b/ports-mgmt/porttools/Makefile index 84098686313c..1b31ad938604 100644 --- a/ports-mgmt/porttools/Makefile +++ b/ports-mgmt/porttools/Makefile @@ -3,6 +3,7 @@ PORTNAME= porttools PORTVERSION= 1.05 +PORTREVISION= 1 CATEGORIES= ports-mgmt MAINTAINER= skreuzer@FreeBSD.org diff --git a/ports-mgmt/porttools/files/patch-scripts_cmd__create.in b/ports-mgmt/porttools/files/patch-scripts_cmd__create.in new file mode 100644 index 000000000000..1a018afe4742 --- /dev/null +++ b/ports-mgmt/porttools/files/patch-scripts_cmd__create.in @@ -0,0 +1,11 @@ +--- scripts/cmd_create.in.orig 2015-07-15 17:45:24 UTC ++++ scripts/cmd_create.in +@@ -69,7 +69,7 @@ else + fi + + PORTBASE=$(basename ${ARG_PORTNAME}) +-PORTPREFIX=$(echo ${PORTBASE} | cut -d- -f1) ++PORTPREFIX=$(echo ${PORTBASE} | cut -s -d- -f1) + + # Work around the fact that R modules are + # prefixed with R-cran