#33985: eboard @1.1.1 configure error due to bad ${CXX} env var ref ----------------------------+----------------------------------------------- Reporter: jlmuir@… | Owner: pmq@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: eboard ----------------------------+----------------------------------------------- Changes (by macsforever2000@…): * cc: pmq@… (removed) * owner: macports-tickets@… => pmq@… Old description:
The eboard Portfile configure.args keyword references the CXX environment variable, but this is not a variable provided by MacPorts. When it is undefined (as in my case), the configure phase fails:
:info:configure shell command " cd "/opt3/var/macports/build/_opt3_var_macports_sources_rsync.macports.org_release_tarballs_ports_games_eboard/eboard/work/eboard-1.1.1" && /opt3/bin/perl ./configure --prefix=/opt3 --man-prefix=/opt3/share/man --compiler=${CXX} " returned error 2
Attached is a patch against the Portfile to fix the problem.
New description: The eboard Portfile configure.args keyword references the CXX environment variable, but this is not a variable provided by MacPorts. When it is undefined (as in my case), the configure phase fails: {{{ :info:configure shell command " cd "/opt3/var/macports/build/_opt3_var_macports_sources_rsync.macports.org_release_tarballs_ports_games_eboard/eboard/work/eboard-1.1.1" && /opt3/bin/perl ./configure --prefix=/opt3 --man-prefix=/opt3/share/man --compiler=${CXX} " returned error 2 }}} Attached is a patch against the Portfile to fix the problem. -- Comment: In the future, please use WikiFormatting. That seems like an odd fix. Is perl no longer required? Then it should be removed as a dependency. Also maybe the variable should simply be corrected? {{{ --compiler=${configure.cxx} }}} -- Ticket URL: <https://trac.macports.org/ticket/33985#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS