summaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portupgrade/Makefile1
-rw-r--r--ports-mgmt/portupgrade/files/patch-bin-portupgrade12
2 files changed, 13 insertions, 0 deletions
diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile
index c40fa8b828a5..4ccb88ab13d4 100644
--- a/ports-mgmt/portupgrade/Makefile
+++ b/ports-mgmt/portupgrade/Makefile
@@ -7,6 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 2.1.3.2
+PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
diff --git a/ports-mgmt/portupgrade/files/patch-bin-portupgrade b/ports-mgmt/portupgrade/files/patch-bin-portupgrade
new file mode 100644
index 000000000000..3a82699cafee
--- /dev/null
+++ b/ports-mgmt/portupgrade/files/patch-bin-portupgrade
@@ -0,0 +1,12 @@
+--- bin/portupgrade.orig Wed Jul 12 20:09:27 2006
++++ bin/portupgrade Wed Jul 12 20:09:59 2006
+@@ -900,8 +900,7 @@
+ def get_make_env(origin, is_new = false)
+ $make_env_table ||= compile_config_table(config_value(:MAKE_ENV))
+
+- envset = lookup_config_table($make_env_table, origin, nil) or
+- return Array.new
++ envset = (lookup_config_table($make_env_table, origin, nil) or Array.new)
+
+ make_env = $make_env.dup
+ if make_env.empty?