aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portdowngrade/Makefile2
-rw-r--r--ports-mgmt/portdowngrade/files/portdowngrade6
2 files changed, 4 insertions, 4 deletions
diff --git a/ports-mgmt/portdowngrade/Makefile b/ports-mgmt/portdowngrade/Makefile
index 5f3d7461d15d..54d1eb139821 100644
--- a/ports-mgmt/portdowngrade/Makefile
+++ b/ports-mgmt/portdowngrade/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= portdowngrade
-PORTVERSION= 1.3
+PORTVERSION= 1.4
CATEGORIES= ports-mgmt
MASTER_SITES= # empty
DISTFILES= # none
diff --git a/ports-mgmt/portdowngrade/files/portdowngrade b/ports-mgmt/portdowngrade/files/portdowngrade
index 733d4934dfb4..cda79ac8f2bf 100644
--- a/ports-mgmt/portdowngrade/files/portdowngrade
+++ b/ports-mgmt/portdowngrade/files/portdowngrade
@@ -40,13 +40,13 @@ getport_recursive()
# "This function is recursive"
echo -n "==> Fetching $1 ..."
[ -d $tmpdir/${1%/*} ] || \
- $svn -q up --depth files "$tmpdir/${1%/*}@$rev" || \
+ $svn -q up --depth files -r $rev "$tmpdir/${1%/*}" || \
err "Something went wrong with fetching category for $1. Ensure you have the correct revision!"
- $svn -q up "$tmpdir/$1@$rev" || \
+ $svn -q up -r $rev "$tmpdir/$1" || \
err "Something went wrong with fetching port files for $1."
echo " [DONE]"
echo "$1" >> $tmpdir/portdowngrade.originlist
- deps=$(make PORTSDIR=$(pwd)/$tmpdir -C $tmpdir/$1 -V_DEPEND_DIRS:N\*/pkg:S,${PORTSDIR}/,,)
+ deps=$(make PORTSDIR=$PWD/$tmpdir -C $tmpdir/$1 '-V_DEPEND_DIRS:N*/pkg:C,.*/([^/]*/[^/]*)$,\1,')
if [ -n "$deps" ]; then
for port in $deps; do
if [ ! -d $tmpdir/$port ]; then