如何降级FreeBSD上的所有端口

时间:2015-06-12 16:42:17

标签: unix freebsd bsd

我的服务器上有FreeBSD 7.2。尝试安装一些归档程序,我使用命令portsnap fetch,portsnap extract。升级了所有端口。

现在当我尝试使用make编译任何程序时,我遇到了很多错误:

Unknown modifier 't'

Unknown modifier 't'

Unknown modifier 't'

Unknown modifier 't'

Unknown modifier 't'

Unknown modifier 't'

Unknown modifier 't'

Unknown modifier 't'

Unknown modifier 't'

Unknown modifier 't'

Unknown modifier 't'

"/usr/ports/Mk/bsd.port.mk", line 5546: Unclosed conditional/for loop
"/usr/ports/Mk/bsd.port.mk", line 5546: Unexpected end of file in for loop.

"/usr/ports/Mk/bsd.port.mk", line 5546: Unclosed conditional/for loop
"/usr/ports/Mk/bsd.port.mk", line 5546: Unexpected end of file in for loop.

"/usr/ports/Mk/bsd.port.mk", line 5546: Unclosed conditional/for loop
"/usr/ports/Mk/bsd.port.mk", line 5546: Unexpected end of file in for loop.

"/usr/ports/Mk/bsd.port.mk", line 5546: Unclosed conditional/for loop
"/usr/ports/Mk/bsd.port.mk", line 5546: Unexpected end of file in for loop.

"/usr/ports/Mk/bsd.port.mk", line 6036: Unclosed conditional/for loop
"/usr/ports/Mk/bsd.port.mk", line 6036: Unexpected end of file in for loop.

我只需要将所有端口降级到以前的版本。

1 个答案:

答案 0 :(得分:1)

我在这里找到了解决方案 - FREEBSD: make install Unknown modifier 'u' Variable ALL_OPTIONS is recursive

刚刚将/ usr / ports / Mk / *替换为原始文件,从ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/amd64/your版本的FreeBSD /

下载

据我所知,罗兰史密斯提出同样的建议。