> On Jun 5, 2020, at 20:37, Ken Cunningham wrote: > > > >> On Jun 5, 2020, at 5:25 PM, Ryan Schmidt wrote: >> >> Sure, there could be such a script. >> >> I might suggest that, instead of requiring you to run each build command as >> a subcommand of that script, you might just make the script export those >> variables. Then the user only needs to run the script once per shell. > > yes, even better... > > I’ll do a bit of experimenting. You would want the "sudo make install" to > pick up your prefix, but not the MacPorts prefix.
I don't think there should be a problem. You usually set the installation prefix when you configure. > On the other hand, you don’t want to pollute your usual macports install > commands. Shouldn't be a problem there either. MacPorts ignores most of your environment variables.
