summaryrefslogtreecommitdiff
path: root/lang/ifc7/files/patch-ifc
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2002-11-18 09:27:32 +0000
committerMaho Nakata <maho@FreeBSD.org>2002-11-18 09:27:32 +0000
commit6bf0de6ddfc37f3b8f315ec814cfc64435f84db2 (patch)
treeb346856cc03388dfdc6c118503b349510d6117ba /lang/ifc7/files/patch-ifc
parentFix build on -current (don't mis-declare sys_nerr) (diff)
Now ifc outputs FreeBSD's native binary.
Bump portrevision. Wonderful work by: Masakazu Higaki <higamasa@dream.com> Approved by: maho(maintainer) Reviewed by: knu(mentor)
Notes
Notes: svn path=/head/; revision=70384
Diffstat (limited to 'lang/ifc7/files/patch-ifc')
-rw-r--r--lang/ifc7/files/patch-ifc42
1 files changed, 42 insertions, 0 deletions
diff --git a/lang/ifc7/files/patch-ifc b/lang/ifc7/files/patch-ifc
new file mode 100644
index 000000000000..3428a50551d2
--- /dev/null
+++ b/lang/ifc7/files/patch-ifc
@@ -0,0 +1,42 @@
+--- opt/intel/compiler60/ia32/bin/ifc.orig Sun Sep 22 01:03:04 2002
++++ opt/intel/compiler60/ia32/bin/ifc Sun Sep 22 01:06:31 2002
+@@ -1,29 +1,31 @@
+ #!/bin/sh
+
+-INTEL_LICENSE_FILE=<INSTALLDIR>/licenses;
++PREFIX=/usr/local
++export PREFIX
++INTEL_LICENSE_FILE=${PREFIX}/intel/licenses;
+ export INTEL_LICENSE_FILE;
+
+ if [ -z LD_LIBRARY_PATH ]
+ then
+- LD_LIBRARY_PATH=<INSTALLDIR>/compiler60/ia32/lib;
++ LD_LIBRARY_PATH=${PREFIX}/intel/compiler60/ia32/lib;
+ else
+- LD_LIBRARY_PATH=<INSTALLDIR>/compiler60/ia32/lib:$LD_LIBRARY_PATH
++ LD_LIBRARY_PATH=${PREFIX}/intel/compiler60/ia32/lib:$LD_LIBRARY_PATH
+ fi
+ export LD_LIBRARY_PATH;
+
+ if [ -z PATH ]
+ then
+- PATH=<INSTALLDIR>/compiler60/ia32/bin;
++ PATH=${PREFIX}/intel/compiler60/ia32/bin;
+ else
+- PATH=<INSTALLDIR>/compiler60/ia32/bin:$PATH;
++ PATH=${PREFIX}/intel/compiler60/ia32/bin:$PATH;
+ fi
+ export PATH;
+
+-export -n IA32ROOT; unset IA32ROOT;
++unset IA32ROOT;
+
+ if [ $# != 0 ]
+ then
+- exec -a "<INSTALLDIR>/compiler60/ia32/bin/ifc" <INSTALLDIR>/compiler60/ia32/bin/ifcbin "$@";
++ exec ${PREFIX}/intel/compiler60/ia32/bin/ifcbin "$@";
+ else
+- exec -a "<INSTALLDIR>/compiler60/ia32/bin/ifc" <INSTALLDIR>/compiler60/ia32/bin/ifcbin;
++ exec ${PREFIX}/intel/compiler60/ia32/bin/ifcbin;
+ fi