Is there a way to check that other port have an option set?

Andrey Chernov ache at freebsd.org
Wed Jun 18 19:19:34 UTC 2014


I mean, from the port's Makefile.
pkg info PORT_NAME + grep comes in mind, but it is not backward
compatible with pre-NG system (do we need to keep backward compatibility
now?) and I am not sure that it is the most right/light-weighted way.
Proper thing will be not to check other port and exit, if option is not
set, but rebuild other port with needed option only, added
automatically. Any ideas?

-- 
http://ache.vniz.net/


More information about the freebsd-ports mailing list