Page MenuHomeFreeBSD

Uses/cmake.mk: Replace CMAKE_ENV with CONFIGURE_ENV.
ClosedPublic

Authored by rakuco on Aug 17 2015, 9:18 PM.

Details

Summary

Instead of defining a variable that is almost always based on CONFIGURE_ENV, just use CONFIGURE_ENV directly. This also matches the behavior of other ports that do not use autotools (so most ports can just worry about CONFIGURE_ENV). Additionally, the fact that we do not use ?= means we do not have problems if another file in Uses/ needs to set CONFIGURE_ENV (with CMAKE_ENV, the order of the arguments to USES would matter).

Test Plan

All mentioned ports have been tested with the change and build fine on 9.3-i386.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

rakuco retitled this revision from to Uses/cmake.mk: Replace CMAKE_ENV with CONFIGURE_ENV..Aug 17 2015, 9:18 PM
rakuco updated this object.
rakuco edited the test plan for this revision. (Show Details)
rakuco updated this revision to Diff 8015.
makc edited edge metadata.Aug 17 2015, 10:38 PM
makc accepted this revision.
makc added inline comments.
math/eigen3/Makefile
17 ↗(On Diff #8015)

LOCALBASE is incorrectly used here instead of PREFIX

This revision is now accepted and ready to land.Aug 17 2015, 10:38 PM
rakuco marked an inline comment as done.Aug 18 2015, 10:32 AM
rakuco added inline comments.
math/eigen3/Makefile
17 ↗(On Diff #8015)

Fixed in rP394563.

This revision was automatically updated to reflect the committed changes.