Why would you want to use Portmaster if you're only using binary packages? As its name implies Portmaster is meant to help you with the port building process. So if you're converting your system to using packages then stop using Portmaster and from here on rely on
pkg instead.
Also: I
strongly recommend not trying to mix ports and packages, because in the end that can easily lead to massive problems on your system. It can work, but it heavily depends on the ports involved, in most cases its plain out a bad idea.
This guide maybe a good read on that.
As to
devel/llvm40: keep in mind that ports have 2 kinds of dependencies: those for running the software (see
make run-depends-list
) and those for
building the software (see
make build-depends-list
). See
ports(7) for a full list of those build targets by the way.
Ports do not require build dependencies (such as LLVM) in order to run. This is also why Portmaster provides an option to clean up those build dependencies (which is a bad idea): simply because there's no real dependency on those packages so that can easily be removed:
Code:
$ pkg info -rx llvm40
llvm40-4.0.1_6:
Press any key to continue...
Therefor it's not surprising that you don't see these packages mentioned during an upgrade (unless there's a newer version of course), simply because no package actually depends on it.
So to convert from ports to packages... Here's what I'd do:
Code:
$ pkg info -aqo > packages
$ pkg delete -a
$ pkg install `cat packages`
Optionally you could consider using
-aD for deleting, this will prevent de-install scripts from running and that can save you some time. If you are going to use that you could also consider using
-I when running
pkg-install(8). There is a risk here mind you: packages use default settings so there is a chance that some things have changed, in which case re-running the installation scripts is a good idea.