aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/portupgrade
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2006-07-12 16:21:32 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2006-07-12 16:21:32 +0000
commit8e4d616b11f309417fa3563ba49cdd94f006510a (patch)
treeffb89a27a8cbe73c8b1e770f58fccf662239491c /ports-mgmt/portupgrade
parentde68ffab47a0b08b57b1e89efe4d6f18b9f9700f (diff)
downloadports-8e4d616b11f309417fa3563ba49cdd94f006510a.tar.gz
ports-8e4d616b11f309417fa3563ba49cdd94f006510a.zip
Notes
Diffstat (limited to 'ports-mgmt/portupgrade')
-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?