summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ports-mgmt/portupgrade/Makefile2
-rw-r--r--ports-mgmt/portupgrade/files/patch-portsdb.rb13
-rw-r--r--sysutils/portupgrade/Makefile2
-rw-r--r--sysutils/portupgrade/files/patch-portsdb.rb13
4 files changed, 28 insertions, 2 deletions
diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile
index 7cf8b1a..c525486 100644
--- a/ports-mgmt/portupgrade/Makefile
+++ b/ports-mgmt/portupgrade/Makefile
@@ -7,7 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 2.2.2
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
diff --git a/ports-mgmt/portupgrade/files/patch-portsdb.rb b/ports-mgmt/portupgrade/files/patch-portsdb.rb
new file mode 100644
index 0000000..be6065d
--- /dev/null
+++ b/ports-mgmt/portupgrade/files/patch-portsdb.rb
@@ -0,0 +1,13 @@
+--- lib/portsdb.rb.orig Thu Feb 1 10:15:59 2007
++++ lib/portsdb.rb Thu Feb 1 10:17:25 2007
+@@ -387,8 +387,8 @@
+ end
+
+ def subdirs(dir)
+- %x"fgrep -v bsd.port.subdir.mk #{dir}/Makefile |
+- make -f - -V SUBDIR 2> /dev/null".split.select { |i|
++ %x"fgrep SUBDIR #{dir}/Makefile | sed -e 's/SUBDIR +=//'
++ 2> /dev/null".split.select { |i|
+ File.directory?(File.join(dir, i))
+ }.sort
+ end
diff --git a/sysutils/portupgrade/Makefile b/sysutils/portupgrade/Makefile
index 7cf8b1a..c525486 100644
--- a/sysutils/portupgrade/Makefile
+++ b/sysutils/portupgrade/Makefile
@@ -7,7 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 2.2.2
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
diff --git a/sysutils/portupgrade/files/patch-portsdb.rb b/sysutils/portupgrade/files/patch-portsdb.rb
new file mode 100644
index 0000000..be6065d
--- /dev/null
+++ b/sysutils/portupgrade/files/patch-portsdb.rb
@@ -0,0 +1,13 @@
+--- lib/portsdb.rb.orig Thu Feb 1 10:15:59 2007
++++ lib/portsdb.rb Thu Feb 1 10:17:25 2007
+@@ -387,8 +387,8 @@
+ end
+
+ def subdirs(dir)
+- %x"fgrep -v bsd.port.subdir.mk #{dir}/Makefile |
+- make -f - -V SUBDIR 2> /dev/null".split.select { |i|
++ %x"fgrep SUBDIR #{dir}/Makefile | sed -e 's/SUBDIR +=//'
++ 2> /dev/null".split.select { |i|
+ File.directory?(File.join(dir, i))
+ }.sort
+ end
OpenPOWER on IntegriCloud