OPENSSL10_ONLY is evaluated over and over
The nature of usr/src/pkg/Makefile means that the command underneath OPENSSL10_ONLY is evaluated once per manifest, or "a lot".
A way to make it stop should be concocted.
Updated by Gary Mills about 8 years ago
Here's a test that points the way to the solution:
$ time make -n SRC=.. > /dev/null 2>&1 real 1m21.71s user 0m0.38s sys 0m0.14s $ time make -n OPENSSL10_ONLY='#' SRC=.. > /dev/null 2>&1 real 0m0.38s user 0m0.29s sys 0m0.05s
The solution is a new target with a recursive rule that defines PKGMOG_DEFINES=$(PKGMOG_DEFINES) on the $(MAKE) command line.
Updated by Andy Fiddaman almost 2 years ago
- Status changed from New to Closed
Since https://github.com/illumos/illumos-gate/commit/93c022fe755ab555fe7ba5e571921b1853459e13 removed the
OPENSSL10_ONLY variable and associated command, this issue should be closed.