ports/sysutils/puppet-devel/files/patch-optional-p-P
Alejandro Pulver 2126a544fa - Complete repocopy of sysutils/puppet-devel and apply patch.
PR:		ports/116007
Submitted by:	Tomoyuki Sakurai <cherry@trombik.org> (maintainer)
2007-09-27 23:18:40 +00:00

15 lines
577 B
Text

--- lib/puppet/provider/package/ports.rb.orig Tue Aug 7 21:52:46 2007
+++ lib/puppet/provider/package/ports.rb Tue Aug 7 21:53:49 2007
@@ -17,11 +17,9 @@
end
def install
- # -p: create a package
# -N: install if the package is missing, otherwise upgrade
- # -P: prefer binary packages
# -M: yes, we're a batch, so don't ask any questions
- cmd = %w{-p -N -P -M BATCH=yes} << @resource[:name]
+ cmd = %w{-N -M BATCH=yes} << @resource[:name]
output = portupgrade(*cmd)
if output =~ /\*\* No such /