Yesterday, I tried to install the nv, vesa, and nvidia drivers for my kernel.
The nvidia kernel driver complains about lack of sources. After I installed the sources, I was able to get the x11/nvidia-driver to compile.
The Ports system in my opinion, is somewhat primitive. It can handle dependencies, but, if the dependency is a configuration option, like I mentioned above, then the build will fail until the dependency is met manually by the user. A solution to that would be to run more advanced scripts to install the dependencies.
There is not much leeway in terms of variances and nuances that the Ports System can manage. An install script ran as a reaction to me doing make in x11/nvidia-driver, but the make failed due to a pre-requisite that arose from me selecting support for linux-compat (for the nvidia driver) and other things the config script in the port asked me.
I think that ports scripts should do more work than they currently do? I recommend some high-level, high-powered scripting language like PERL to wrangle the packages' run-time dependencies in addition to the regular dependencies system in place such as pkg_add -r packagename or cd ports/port_cat/someport/ && make. With the use of PERL, we can have a more inviting, capable, and robust package management system.
The nvidia kernel driver complains about lack of sources. After I installed the sources, I was able to get the x11/nvidia-driver to compile.
The Ports system in my opinion, is somewhat primitive. It can handle dependencies, but, if the dependency is a configuration option, like I mentioned above, then the build will fail until the dependency is met manually by the user. A solution to that would be to run more advanced scripts to install the dependencies.
There is not much leeway in terms of variances and nuances that the Ports System can manage. An install script ran as a reaction to me doing make in x11/nvidia-driver, but the make failed due to a pre-requisite that arose from me selecting support for linux-compat (for the nvidia driver) and other things the config script in the port asked me.
I think that ports scripts should do more work than they currently do? I recommend some high-level, high-powered scripting language like PERL to wrangle the packages' run-time dependencies in addition to the regular dependencies system in place such as pkg_add -r packagename or cd ports/port_cat/someport/ && make. With the use of PERL, we can have a more inviting, capable, and robust package management system.