summaryrefslogtreecommitdiff
path: root/lang/icc/files/patch-icc
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2002-08-20 10:01:58 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2002-08-20 10:01:58 +0000
commit887882215081d93dfc8b47872da6a0da64d127d2 (patch)
tree4df5a18c7216454b013562d38a596a8123d8ea55 /lang/icc/files/patch-icc
parentSet <INSTALLTIMECOMBOPACKAGEID> in compiler60/docs/fsupport (PR from (diff)
- add category: devel
- use reinplace command where appropriate - gzip man page - clarify download instructions (1) - fix typo in a comment (2) - preparation for successfull C++ compiles (2, minor changes by me) Even if I bumped the port revision for the C++ parts, there's no need to update yet, wait until I commit the icc-stlport. Requested by: mi (1) Submitted by: Marius Strobl <marius@alchemy.franken.de> (2)
Notes
Notes: svn path=/head/; revision=64689
Diffstat (limited to 'lang/icc/files/patch-icc')
-rw-r--r--lang/icc/files/patch-icc24
1 files changed, 24 insertions, 0 deletions
diff --git a/lang/icc/files/patch-icc b/lang/icc/files/patch-icc
new file mode 100644
index 000000000000..a6aeaf03bb9c
--- /dev/null
+++ b/lang/icc/files/patch-icc
@@ -0,0 +1,24 @@
+--- opt/intel/compiler60/ia32/bin/icc.orig Tue Aug 6 04:34:18 2002
++++ opt/intel/compiler60/ia32/bin/icc Tue Aug 6 04:46:51 2002
+@@ -23,6 +23,21 @@
+
+ if [ $# != 0 ]
+ then
++ i=0
++ argc=$#
++ while [ $i -lt $argc ] ; do
++ val1=$1
++ shift
++ for s in .C .cc .cpp .cxx .c++; do
++ val2=${val1%$s}
++ if [ ${#val1} -gt ${#val2} ] ; then
++ echo "Please use icpc to compile C++ source."
++ exit 1
++ fi
++ done
++ set -- "$@" "$val1"
++ i=$(($i+1))
++ done
+ exec -a "<INSTALLDIR>/compiler60/ia32/bin/icc" <INSTALLDIR>/compiler60/ia32/bin/iccbin "$@";
+ else
+ exec -a "<INSTALLDIR>/compiler60/ia32/bin/icc" <INSTALLDIR>/compiler60/ia32/bin/iccbin;