1、更新ports Collection
portsnap fetch update
2、查询哪些ports需要升级:
pkg_version -v -L=
3、升级ports:
cd /var/db/pkg/ pkg_delete gmake-{version} cd /usr/ports/ make search name=gmake cd /usr/ports/devel/gmake/ make install clean
1、更新ports Collection
portsnap fetch update
2、查询哪些ports需要升级:
pkg_version -v -L=
3、升级ports:
cd /var/db/pkg/ pkg_delete gmake-{version} cd /usr/ports/ make search name=gmake cd /usr/ports/devel/gmake/ make install clean