[MacPorts] #35523: qt4-mac @4.8.2_0 +psql91 +universal does not build

MacPorts noreply at macports.org
Wed Aug 8 06:55:07 PDT 2012


#35523: qt4-mac @4.8.2_0 +psql91 +universal does not build
--------------------------------+-------------------------------------------
 Reporter:  vince@…             |       Owner:  michaelld@…           
     Type:  defect              |      Status:  new                   
 Priority:  Normal              |   Milestone:                        
Component:  ports               |     Version:  2.1.2                 
 Keywords:                      |        Port:  qt4-mac               
--------------------------------+-------------------------------------------

Comment(by michaelld@…):

 In my testing, this issue happens only when one of MP's postgresql ports
 is installed, but -not- selected, and then qt4-mac is installed with one
 of the +psql variants.  In this case, the "pg_config" application found is
 that installed by ML.  This issue won't happen when one of MP's postgresql
 ports is selected, since "${prefix}/bin/pg_config" will be in the path
 before the ML version (in /usr/bin).

 I can fix this by specifying the exact version of "pg_config" to use for
 the correct variant. But, it'll be highly dependent on where "pg_config"
 is installed by the port, which right now seems to be
 "${prefix}/lib/postgresqlXY/bin/pg_config", where "X" and "Y" are the
 major and minor postgresql version numbers.  I'd rather not go this route
 (semi-hard-coding a path into the configure script), but I cannot think of
 a better way to do this since there's no guarantee that the user has had
 port select a postgresql version.  Thoughts?  Suggestions?

-- 
Ticket URL: <https://trac.macports.org/ticket/35523#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list