1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

- reword pkg-descr

- fix iccvars.csh (PR)
 - mimic some parts of gcc's preprocessor (defines)

PR:		36555
Approved by:	steve
This commit is contained in:
Alexander Leidinger 2002-03-31 19:00:05 +00:00
parent 4403a307a5
commit 75bc889410
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57081
6 changed files with 62 additions and 22 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= icc
PORTVERSION= 5.0.1
PORTREVISION= 1
CATEGORIES= lang linux
MASTER_SITES= http://www.intel.com/software/products/compilers/c50/linux/
DISTNAME= cc010911rh71
@ -31,6 +32,8 @@ NO_CDROM= yes
.include <bsd.port.pre.mk>
ICCCFGVAL!= ${UNAME} -r | ${SED} -e 's/\..*//'
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE= "Please manually download the version for RedHat 7.1 from ${MASTER_SITES}, put it into ${DISTDIR} and run make again"
.endif
@ -51,15 +54,6 @@ pre-patch:
xargs -0 ${CHMOD} a-x,g-w
.endfor
@${FIND} ${WRKSRC}/opt -type d -print0 | xargs -0 ${CHMOD} go-w
.for i in ia32/bin/iccvars.csh ia32/bin/iccvars.sh ia32/bin/icc.cfg \
ia32/bin/icpc.cfg docs/iccsupport
@${SED} 's@\<INSTALLDIR\>@${PREFIX}/intel@g' \
${WRKSRC}/opt/intel/compiler50/${i} \
>${WRKSRC}/opt/intel/compiler50/${i}.seded
@${MV} -f ${WRKSRC}/opt/intel/compiler50/${i}.seded \
${WRKSRC}/opt/intel/compiler50/${i}
@${CHMOD} 755 ${WRKSRC}/opt/intel/compiler50/${i}
.endfor
.for i in icc iccfilt icid icpc icpi mcpcom profmerge proforder
@brandelf -t Linux ${WRKSRC}/opt/intel/compiler50/ia32/bin/${i}
.endfor
@ -68,10 +62,20 @@ pre-patch:
.endfor
post-patch:
.for i in ia32/bin/iccvars.csh ia32/bin/iccvars.sh ia32/bin/icc.cfg \
ia32/bin/icpc.cfg docs/iccsupport
@${SED} 's@\<INSTALLDIR\>@${PREFIX}/intel@g; s@-tp p6@@' \
${WRKSRC}/opt/intel/compiler50/${i} \
>${WRKSRC}/opt/intel/compiler50/${i}.seded
@${MV} -f ${WRKSRC}/opt/intel/compiler50/${i}.seded \
${WRKSRC}/opt/intel/compiler50/${i}
@${CHMOD} 755 ${WRKSRC}/opt/intel/compiler50/${i}
.endfor
@${RM} ${WRKSRC}/opt/intel/compiler50/ia32/include/yvals.h.orig
.if defined(NOPORTDOCS)
@${RM} -rf ${WRKSRC}/opt/intel/compiler50/docs
.endif
@${ECHO} -e "\n-Ulinux\n-U__linux__\n-U__linux\n\n-D__FreeBSD__=${ICCCFGVAL}\n-D__ELF__=1\n" >>${WRKSRC}/opt/intel/compiler50/ia32/bin/icc.cfg
do-install:
@cd ${WRKSRC}/opt && ${TAR} -chf - . | \

View File

@ -0,0 +1,16 @@
--- opt/intel/compiler50/ia32/bin/iccvars.csh.orig Sun Mar 31 11:14:54 2002
+++ opt/intel/compiler50/ia32/bin/iccvars.csh Sun Mar 31 11:16:11 2002
@@ -1,4 +1,4 @@
-#! /bin/tcsh
+#! /bin/csh
if ! ($?IA32ROOT) then
setenv IA32_SAVE_PATH $PATH
if ($?LD_LIBRARY_PATH) then
@@ -24,6 +24,6 @@
setenv LD_LIBRARY_PATH $IA32ROOT/lib:$IA32_SAVE_LD_LIBRARY_PATH
endif
-setenv INTEL_FLEXLM_LICENSE=<INSTALLDIR>/licenses
+setenv INTEL_FLEXLM_LICENSE <INSTALLDIR>/licenses

View File

@ -1,5 +1,5 @@
This is Intels C/C++ compiler, it is set up so produce native FreeBSD objects.
This port is not able to produce native executables on its own, you need to do
it yourself with gcc.
This port is not able to produce native executables on its own, you need to
use gcc to link the final binary.
WWW: http://www.intel.com/software/products/compilers/c50/linux

View File

@ -7,6 +7,7 @@
PORTNAME= icc
PORTVERSION= 5.0.1
PORTREVISION= 1
CATEGORIES= lang linux
MASTER_SITES= http://www.intel.com/software/products/compilers/c50/linux/
DISTNAME= cc010911rh71
@ -31,6 +32,8 @@ NO_CDROM= yes
.include <bsd.port.pre.mk>
ICCCFGVAL!= ${UNAME} -r | ${SED} -e 's/\..*//'
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE= "Please manually download the version for RedHat 7.1 from ${MASTER_SITES}, put it into ${DISTDIR} and run make again"
.endif
@ -51,15 +54,6 @@ pre-patch:
xargs -0 ${CHMOD} a-x,g-w
.endfor
@${FIND} ${WRKSRC}/opt -type d -print0 | xargs -0 ${CHMOD} go-w
.for i in ia32/bin/iccvars.csh ia32/bin/iccvars.sh ia32/bin/icc.cfg \
ia32/bin/icpc.cfg docs/iccsupport
@${SED} 's@\<INSTALLDIR\>@${PREFIX}/intel@g' \
${WRKSRC}/opt/intel/compiler50/${i} \
>${WRKSRC}/opt/intel/compiler50/${i}.seded
@${MV} -f ${WRKSRC}/opt/intel/compiler50/${i}.seded \
${WRKSRC}/opt/intel/compiler50/${i}
@${CHMOD} 755 ${WRKSRC}/opt/intel/compiler50/${i}
.endfor
.for i in icc iccfilt icid icpc icpi mcpcom profmerge proforder
@brandelf -t Linux ${WRKSRC}/opt/intel/compiler50/ia32/bin/${i}
.endfor
@ -68,10 +62,20 @@ pre-patch:
.endfor
post-patch:
.for i in ia32/bin/iccvars.csh ia32/bin/iccvars.sh ia32/bin/icc.cfg \
ia32/bin/icpc.cfg docs/iccsupport
@${SED} 's@\<INSTALLDIR\>@${PREFIX}/intel@g; s@-tp p6@@' \
${WRKSRC}/opt/intel/compiler50/${i} \
>${WRKSRC}/opt/intel/compiler50/${i}.seded
@${MV} -f ${WRKSRC}/opt/intel/compiler50/${i}.seded \
${WRKSRC}/opt/intel/compiler50/${i}
@${CHMOD} 755 ${WRKSRC}/opt/intel/compiler50/${i}
.endfor
@${RM} ${WRKSRC}/opt/intel/compiler50/ia32/include/yvals.h.orig
.if defined(NOPORTDOCS)
@${RM} -rf ${WRKSRC}/opt/intel/compiler50/docs
.endif
@${ECHO} -e "\n-Ulinux\n-U__linux__\n-U__linux\n\n-D__FreeBSD__=${ICCCFGVAL}\n-D__ELF__=1\n" >>${WRKSRC}/opt/intel/compiler50/ia32/bin/icc.cfg
do-install:
@cd ${WRKSRC}/opt && ${TAR} -chf - . | \

View File

@ -0,0 +1,16 @@
--- opt/intel/compiler50/ia32/bin/iccvars.csh.orig Sun Mar 31 11:14:54 2002
+++ opt/intel/compiler50/ia32/bin/iccvars.csh Sun Mar 31 11:16:11 2002
@@ -1,4 +1,4 @@
-#! /bin/tcsh
+#! /bin/csh
if ! ($?IA32ROOT) then
setenv IA32_SAVE_PATH $PATH
if ($?LD_LIBRARY_PATH) then
@@ -24,6 +24,6 @@
setenv LD_LIBRARY_PATH $IA32ROOT/lib:$IA32_SAVE_LD_LIBRARY_PATH
endif
-setenv INTEL_FLEXLM_LICENSE=<INSTALLDIR>/licenses
+setenv INTEL_FLEXLM_LICENSE <INSTALLDIR>/licenses

View File

@ -1,5 +1,5 @@
This is Intels C/C++ compiler, it is set up so produce native FreeBSD objects.
This port is not able to produce native executables on its own, you need to do
it yourself with gcc.
This port is not able to produce native executables on its own, you need to
use gcc to link the final binary.
WWW: http://www.intel.com/software/products/compilers/c50/linux