Opened 12 years ago

Last modified 12 years ago

#33985 closed defect

eboard @1.1.1 configure error due to bad ${CXX} env var ref — at Version 1

Reported by: jlmuir@… Owned by: pmq@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: eboard

Description (last modified by mf2k (Frank Schima))

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.

Change History (2)

Changed 12 years ago by jlmuir@…

Attachment: Portfile-eboard.diff added

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Cc: pmq@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to pmq@…

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}
Note: See TracTickets for help on using tickets.