summaryrefslogtreecommitdiff
path: root/sysutils/webmin/files/patch-software_freebsd-lib.pl
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2013-10-05 13:45:02 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2013-10-05 13:45:02 +0000
commit6ef61f34ddfa1b8b20d9c7db5648bb7a93211e96 (patch)
tree9f150e21fe43d00fcd28a72a972c8097751ecaea /sysutils/webmin/files/patch-software_freebsd-lib.pl
parentgnome1 is deprecated, remove unmaintained ports depending on it. (diff)
- Upgrade to version 1.650.
- Add staging support. - Do not mute install commands. - Remove automatic PLIST generation. - Do not use /usr/sbin/pkg for pkgng detection; if you run it in batch it may stop with an interactive prompt on 9.x.
Notes
Notes: svn path=/head/; revision=329458
Diffstat (limited to 'sysutils/webmin/files/patch-software_freebsd-lib.pl')
-rw-r--r--sysutils/webmin/files/patch-software_freebsd-lib.pl14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/webmin/files/patch-software_freebsd-lib.pl b/sysutils/webmin/files/patch-software_freebsd-lib.pl
new file mode 100644
index 000000000000..ed75973191f0
--- /dev/null
+++ b/sysutils/webmin/files/patch-software_freebsd-lib.pl
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- software/freebsd-lib.pl.orig
++++ software/freebsd-lib.pl
+@@ -21,7 +21,7 @@
+
+ sub use_pkg_ng
+ {
+-return 0 if (!-x "/usr/sbin/pkg");
++return 0 if (!-e "/var/db/pkg/local.sqlite");
+ local @lines = &backquote_command("/usr/sbin/pkg info 2>/dev/null </dev/null");
+ return @lines > 1 ? 1 : 0;
+ }