How do I make install clean a port in the background

Rakhesh Sasidharan rakhesh at rakhesh.com
Sat Aug 11 22:50:19 PDT 2007


> A good ideea would be to build screen static. In case you
> update your system, it is possible that the libraries on which screen depends
> might be deleted. To do so
> # make CONFIGURE_ENV=LDFLAGS="-static" build
> # make install
> that will create a binary screen which is not dynamically linked with the
> libraries.
> and of course don't forget man screen

That's neat! Didn't know you could do that. Is the option 
CONFIGURE_ENV=LDFLAGS="-static" something you can use for any port to 
compile it statically?

Regards,
Rakhesh


More information about the freebsd-questions mailing list