Bug 36555 - ports/lang/icc doesn't work from a csh prompt
Summary: ports/lang/icc doesn't work from a csh prompt
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alexander Leidinger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-31 02:40 UTC by Nick Hilliard
Modified: 2002-03-31 20:04 UTC (History)
0 users

See Also:


Attachments
file.diff (1.74 KB, patch)
2002-03-31 02:40 UTC, Nick Hilliard
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Hilliard 2002-03-31 02:40:01 UTC
The Intel C compile port doesn't work if you're using a C shell due to a
silly bug in opt/intel/compiler50/ia32/bin/iccvars.csh, which reads by
default:

setenv INTEL_FLEXLM_LICENSE=<INSTALLDIR>/licenses

Clearly, this doesn't work and should read:

setenv INTEL_FLEXLM_LICENSE <INSTALLDIR>/licenses

Without changing this, the compiler can't find the license manager config
and bombs out.

Fix: Mmmm, several possibilities here.  The problem is that iccvars.csh is
modified with pre-patch in the Makefile, which means that putting a patch
into files/ will prevent the user from specifying a different installation
location.  The options are to 1) move the sed command for iccvars.csh in
pre-patch to post-patch, and put a normal patch for iccvars.csh in the
files/ directory (probably the best solution), or 2) write up some really
gross-looking sed patch to mutilate iccvars.csh after it's been patched (not
recommended).

Here's a patch for the first suggestion.
Comment 1 Patrick Li freebsd_committer freebsd_triage 2002-03-31 04:18:46 UTC
Responsible Changed
From-To: freebsd-ports->netchild

Over to maintainer
Comment 2 Alexander Leidinger 2002-03-31 10:51:17 UTC
This fix is ok, it will be included in the next PORTREVISION.
Comment 3 Alexander Leidinger freebsd_committer freebsd_triage 2002-03-31 20:02:59 UTC
State Changed
From-To: open->closed

committed