aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorskreuzer <skreuzer@FreeBSD.org>2015-07-16 02:46:48 +0800
committerskreuzer <skreuzer@FreeBSD.org>2015-07-16 02:46:48 +0800
commita1943b1ab891c33ed12338999c22c76e2e401792 (patch)
treeddb7459fa0ab4a43b96c8c1556b74406dd3a5b45 /ports-mgmt
parent0bf16915efada2a4226c27e2f5707b1bea7c6af0 (diff)
downloadfreebsd-ports-gnome-a1943b1ab891c33ed12338999c22c76e2e401792.tar.gz
freebsd-ports-gnome-a1943b1ab891c33ed12338999c22c76e2e401792.tar.zst
freebsd-ports-gnome-a1943b1ab891c33ed12338999c22c76e2e401792.zip
Add a patch to address an issues that causes the port create command to use
a non existant template when trying to use the 'default' template
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/porttools/Makefile1
-rw-r--r--ports-mgmt/porttools/files/patch-scripts_cmd__create.in11
2 files changed, 12 insertions, 0 deletions
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