Upgrading a port and it won't build ??
for example previous v 1.0 installed, we want 2.0
.........
before the procedure below, write down the new and old
version numbers probably.
This guide assumes /yell/ and /ncftp/ intalled
.........
then to test the result (as below);
.........
if the pkg_add fails (could not find [some port] )
then one can test the result, maybe reinstall the previous version
if necc.
..........
pardon any typos. First draft...
..........
I've put labels adjacent to the monitor detailing this procedure because I
would forget it after about a week of not needing it.
for example previous v 1.0 installed, we want 2.0
.........
before the procedure below, write down the new and old
version numbers probably.
This guide assumes /yell/ and /ncftp/ intalled
.........
Code:
#somewhere# cd /usr/ports/_CATEGORY_/_PORT_/
#port# pkg_create -b /var/db/pkg/_PORT_-1.0 && yell
#port# pkg_delete -f /var/db/pkg/_PORT_-1.0 && yell
#port# ncftp ftp://ftp.freebsd.org/pub/FreeBSD/ports/_i386_ (CHANGE THAT TO YOUR ARCHITECTURE )/packages-7-stable (CHANGE THAT TO YOUR VERSION (RELEASE? clueless here)/
#ncftp# ls
#ncftp# cd _CATEGORY_
#ncftp# ls
#ncftp# get _PORT_-2.0.tbz (tbz probably )
#ncftp# bye
#port# pkg_add _PORT_-2.0.tbz
.........
if the pkg_add fails (could not find [some port] )
Code:
#port# pkg_add -f _PORT_-2.0.tbz && yell
#port# ldd `which _PORT_BINARY_ ` (usually from "grep bin pkg-plist")
if necc.
..........
pardon any typos. First draft...
..........
I've put labels adjacent to the monitor detailing this procedure because I
would forget it after about a week of not needing it.