[MacPorts] #46029: port submission: qtchooser

MacPorts noreply at macports.org
Fri Dec 12 09:00:09 PST 2014


#46029: port submission: qtchooser
--------------------------+--------------------------------
  Reporter:  rjvbertin@…  |      Owner:  macports-tickets@…
      Type:  submission   |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.3.3
Resolution:               |   Keywords:
      Port:  qtchooser    |
--------------------------+--------------------------------

Comment (by rjvbertin@…):

 Replying to [comment:14 larryv@…]:

 > Didn’t you say that it uses `INSTALL_ROOT`? Or is that not used for
 staging installs, and I’m misunderstanding the whole thing? I don’t know
 anything about Qt.

 I have little idea what that variable is usually used for. Here it is
 clearly used to prepend a path to the regular prefix, *probably* indeed
 for Linux packagers. I can't say off the top of my head if the parameter
 is passed on to the inferior makefile, though.

 > > BTW, the Makefile does use the keyword prefix to designate the final
 > > install location; isn't there a way comparable to `destroot.destdir`
 > > to have make called with the correct parameter(s)??

 I meant the build step. Invoking make with `prefix=${prefix}` ought to
 take care of the hard-coded '/usr' path.

 > As Daniel suggested on macports-users, you could outright set
 `destroot.destdir` to “`INSTALL_ROOT=${destroot}`”, in lieu of my
 suggestion. Unless `INSTALL_ROOT` doesn’t actually represent a staging
 area.

 Yes, and that's probably what I'll do if that works out. That *is* simpler
 than what I was doing.

-- 
Ticket URL: <https://trac.macports.org/ticket/46029#comment:16>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list