Tag Info

Hot answers tagged

10

You are very close. Try this instead: make all-depends-list That will recurse through all dependencies and print them for you. To test different build scenarios and how they affect the dependency list, try things like: make NOPORTDOCS=yes NOPORTEXAMPLES=yes all-depends-list make WITHOUT_X11=yes all-depends-list Here is the full set of dependency ...


10

My suggestion would be pkg_cutleaves (available in the ports collection), or pkg-orphan -- Both of these do the same basic thing (list packages that aren't referred to as a dependency by any other package, and ask you what to do). I wouldn't bother though: The build dependencies will just have to be rebuilt and reinstalled when you upgrade the port, and ...


7

No upgrades are "mandatory" -- If the port version you're using works, no dependencies require the newer version, and there are no security holes you don't need to upgrade anything. If you're asking about mandatory changes (e.g. new configuration files) as a result of a port upgrade, UPDATING is the right place to look, and there's also often something in ...


3

The best option (IMHO) is to set all the options at the very start. You can do this by running make config-recursive.


3

Sequentially: portmaster --check-depends portmaster --check-port-dbdir portmaster -s portmaster -y --clean-distfiles


2

How can I configure FreeBSD to clean distfiles after installing a port (using make, portupgrade, etc)? If "after installing a port", just use the distclean target: make install distclean This will clean the work directory and the distfile after installing. If you want to clean distfiles separately from installation, just run rm -rf ...


2

Just add BATCH=1 to /etc/make.conf.


1

You would have to recursively get all subdependencies as well. There probably are some tools for that in the ports-mgmt category... I use portmaster(8) for port management. It always gathers (sub)dependencies before compiling and installing a port: ~> portmaster --show-work devel/apache-ant ===>>> Port directory: /usr/ports/devel/apache-ant ...


1

I don't think 4.7 is supported by the current ports tree. You might be able to edit /usr/ports/Mk/bsd.gcc.mk to have a value for GCCVERSION. But considering 4.x had gcc 2.95 its likely that you will have trouble compiling unless you first upgrade gcc. Another options is to forget ports and just compile the program by hand. You can use the port Makefile ...



Only top voted, non community-wiki answers of a minimum length are eligible