看板 DFBSD_bugs 關於我們 聯絡資訊
walt wrote: > "/usr/share/mk/bsd.port.mk", line 85: warning: duplicate script for target > ".BEGIN" ignored Sorry, my first post was misleading. The warning message above is harmless to the dfport build itself, but it does break 'portupgrade' because of this test: output = `cd #{portdir} && #{shelljoin(*cmdargs)} -V PKGNAME -V IGNORE -V NO_IGNORE 2>&1`.to_a if output.size != 3 warning_message "Makefile possibly broken: #{origin}:" output.each { |line| STDERR.print "\t" + line } raise MakefileBrokenError end Looks like portupgrade watches for any output on stderr and kills the upgrade if it finds any(?) If we really want 'make' to warn about duplicate scripts I suppose we could teach portupgrade to ignore stderr.