summaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2007-02-01 07:23:39 +0000
committersem <sem@FreeBSD.org>2007-02-01 07:23:39 +0000
commit3e8b6b84263b1840348b5f56ef7004ce5adca0ec (patch)
tree3d14fc4135b615bfe69a02ee99fa41f07822fd50 /ports-mgmt
parentb3c84055064710932081a9ea0c5d8fb4e0e1fa0a (diff)
downloadFreeBSD-ports-3e8b6b84263b1840348b5f56ef7004ce5adca0ec.zip
FreeBSD-ports-3e8b6b84263b1840348b5f56ef7004ce5adca0ec.tar.gz
- Fix brackage after ports/Makefile 1.97 was committed
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portupgrade/Makefile2
-rw-r--r--ports-mgmt/portupgrade/files/patch-portsdb.rb13
2 files changed, 14 insertions, 1 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
OpenPOWER on IntegriCloud