aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt/pkg
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-03-30 18:31:55 +0800
committerbapt <bapt@FreeBSD.org>2012-03-30 18:31:55 +0800
commitf8787cff8f1ac2d55ffba980ab4ff5776cdef344 (patch)
tree180994f28f25bb334577b16df79477843a7fa2a4 /ports-mgmt/pkg
parent2c64a4840bc96982ec1e332ab6911ff8e3fe12b8 (diff)
downloadfreebsd-ports-gnome-f8787cff8f1ac2d55ffba980ab4ff5776cdef344.tar.gz
freebsd-ports-gnome-f8787cff8f1ac2d55ffba980ab4ff5776cdef344.tar.zst
freebsd-ports-gnome-f8787cff8f1ac2d55ffba980ab4ff5776cdef344.zip
- Fix pkg check -ra
Reported by: gelraen (irc://freenode/#pkgng) Feature safe: yes
Diffstat (limited to 'ports-mgmt/pkg')
-rw-r--r--ports-mgmt/pkg/Makefile1
-rw-r--r--ports-mgmt/pkg/files/patch-pkg__check.c10
2 files changed, 11 insertions, 0 deletions
diff --git a/ports-mgmt/pkg/Makefile b/ports-mgmt/pkg/Makefile
index aec467d81aa3..8a432c9f14db 100644
--- a/ports-mgmt/pkg/Makefile
+++ b/ports-mgmt/pkg/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pkg
DISTVERSION= 1.0-beta9
+PORTREVISION= 1
CATEGORIES= ports-mgmt
MASTER_SITES= LOCAL/portmgr \
http://files.etoilebsd.net/pkg/
diff --git a/ports-mgmt/pkg/files/patch-pkg__check.c b/ports-mgmt/pkg/files/patch-pkg__check.c
new file mode 100644
index 000000000000..b3ba48e6ea46
--- /dev/null
+++ b/ports-mgmt/pkg/files/patch-pkg__check.c
@@ -0,0 +1,10 @@
+--- ./pkg/check.c.orig 2012-03-29 23:57:58.000000000 +0200
++++ ./pkg/check.c 2012-03-30 12:27:58.010105703 +0200
+@@ -313,6 +313,7 @@
+ break;
+ case 'r':
+ recomputeflatsize = true;
++ flags |= PKG_LOAD_FILES;
+ if (geteuid() != 0)
+ errx(EX_USAGE, "Needs to be root to recompute the flatsize");
+ break;