#40662: libfaketime --------------------------+-------------------------------- Reporter: wolf@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: libfaketime | --------------------------+-------------------------------- Comment (by wolf@…): Replying to [comment:9 ryandesign@…]:
But the build.env or build.args or something still need to transfer the configure.cc and configure.cxx variables to the build system somehow.
Good point, thanks! Based on some other Portfiles I looked at and how the software's Makefile.OSX handles things, I added the following lines to the Portfile: {{{ build.args CC="${configure.cc} ${archflags}" PREFIX=${prefix} build.env ${configure.env} }}} In there, archflags is assembled like you did in the detex Portfile. -- Ticket URL: <https://trac.macports.org/ticket/40662#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X