diff options
author | knu <knu@FreeBSD.org> | 2004-07-02 12:23:19 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2004-07-02 12:23:19 +0800 |
commit | ca65d113bde79166d19fe22eba18ff0f5f72a524 (patch) | |
tree | 050bd27be5eb4064fd75ca9a2533cc2a1771d68c /ports-mgmt | |
parent | 80b356242bcd5a13673b8a579219b53cac31d140 (diff) | |
download | freebsd-ports-gnome-ca65d113bde79166d19fe22eba18ff0f5f72a524.tar.gz freebsd-ports-gnome-ca65d113bde79166d19fe22eba18ff0f5f72a524.tar.zst freebsd-ports-gnome-ca65d113bde79166d19fe22eba18ff0f5f72a524.zip |
Apply a patch to avoid "undefined method `each' for nil:NilClass"
error when such configuration variable as MAKE_ARGS, typically
BEFORE_DEINSTALL is not defined.
Reported by: krion, Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/portupgrade-devel/Makefile | 1 | ||||
-rw-r--r-- | ports-mgmt/portupgrade-devel/files/patch-pkgtools.rb | 16 | ||||
-rw-r--r-- | ports-mgmt/portupgrade/Makefile | 1 | ||||
-rw-r--r-- | ports-mgmt/portupgrade/files/patch-pkgtools.rb | 16 |
4 files changed, 34 insertions, 0 deletions
diff --git a/ports-mgmt/portupgrade-devel/Makefile b/ports-mgmt/portupgrade-devel/Makefile index 87deaa74b641..f434320f6a88 100644 --- a/ports-mgmt/portupgrade-devel/Makefile +++ b/ports-mgmt/portupgrade-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= portupgrade PORTVERSION= 20040701 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \ ${MASTER_SITE_LOCAL} diff --git a/ports-mgmt/portupgrade-devel/files/patch-pkgtools.rb b/ports-mgmt/portupgrade-devel/files/patch-pkgtools.rb new file mode 100644 index 000000000000..1632d02a1a08 --- /dev/null +++ b/ports-mgmt/portupgrade-devel/files/patch-pkgtools.rb @@ -0,0 +1,16 @@ +Index: lib/pkgtools.rb +=================================================================== +RCS file: /home/cvs/pkgtools/lib/pkgtools.rb,v +retrieving revision 1.123 +diff -u -r1.123 pkgtools.rb +--- lib/pkgtools.rb 30 Jun 2004 16:24:12 -0000 1.123 ++++ lib/pkgtools.rb 2 Jul 2004 03:51:12 -0000 +@@ -82,7 +82,7 @@ + if !pattern.include?('/') + gtable[pattern] = value + end +- end ++ end if hash + + table = [otable, gtable] + end diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile index 87deaa74b641..f434320f6a88 100644 --- a/ports-mgmt/portupgrade/Makefile +++ b/ports-mgmt/portupgrade/Makefile @@ -7,6 +7,7 @@ PORTNAME= portupgrade PORTVERSION= 20040701 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \ ${MASTER_SITE_LOCAL} diff --git a/ports-mgmt/portupgrade/files/patch-pkgtools.rb b/ports-mgmt/portupgrade/files/patch-pkgtools.rb new file mode 100644 index 000000000000..1632d02a1a08 --- /dev/null +++ b/ports-mgmt/portupgrade/files/patch-pkgtools.rb @@ -0,0 +1,16 @@ +Index: lib/pkgtools.rb +=================================================================== +RCS file: /home/cvs/pkgtools/lib/pkgtools.rb,v +retrieving revision 1.123 +diff -u -r1.123 pkgtools.rb +--- lib/pkgtools.rb 30 Jun 2004 16:24:12 -0000 1.123 ++++ lib/pkgtools.rb 2 Jul 2004 03:51:12 -0000 +@@ -82,7 +82,7 @@ + if !pattern.include?('/') + gtable[pattern] = value + end +- end ++ end if hash + + table = [otable, gtable] + end |