aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2002-11-09 04:17:54 +0800
committernetchild <netchild@FreeBSD.org>2002-11-09 04:17:54 +0800
commit79747110a0bbfadcf3e0b90ab6050c782bcfb4ef (patch)
treef47382b0d101edbe1235a20125f2bffaffb4a4d0
parentec8e3d2a5566ded303eeeca816c449a5d58079a5 (diff)
downloadfreebsd-ports-graphics-79747110a0bbfadcf3e0b90ab6050c782bcfb4ef.tar.gz
freebsd-ports-graphics-79747110a0bbfadcf3e0b90ab6050c782bcfb4ef.tar.zst
freebsd-ports-graphics-79747110a0bbfadcf3e0b90ab6050c782bcfb4ef.zip
- mark BROKEN when linux_devtools or ifc is installed
- make it more clear that you shouldn't install linux_devtools in the post install message
-rw-r--r--lang/icc/Makefile9
-rw-r--r--lang/icc7/Makefile9
2 files changed, 14 insertions, 4 deletions
diff --git a/lang/icc/Makefile b/lang/icc/Makefile
index d8c8d35d645..13349856529 100644
--- a/lang/icc/Makefile
+++ b/lang/icc/Makefile
@@ -43,6 +43,11 @@ OBJCOPY?= /usr/bin/objcopy
IGNORE= "Please manually download ${DISTFILES} from ${ICC_SITE}, ${ICC_SITE}c60l/noncom.htm or https://premier.intel.com/ \(whichever has the file, to access premier.intel.com you have to register at http://www.intel.com/software/products/registrationcenter/index.htm\). With a little bit of luck it may also be available from ftp://download.intel.com/software/products/compilers/downloads/. Put it into ${DISTDIR} and run make again"
.endif
+.if exists(${LINUXBASE}/boot/kernel.h) || \
+ exists(${PREFIX}/intel/compiler60/bin/ifc)
+BROKEN= Can not coexist with linux_devtools or ifc
+.endif
+
post-extract:
.for i in \
intel-icc6-6.0.1-304.i386.rpm \
@@ -141,7 +146,7 @@ post-install:
@${ECHO_CMD} "in your kernel config (have a look at http://www.FreeBSD.org/handbook/"
@${ECHO_CMD} "if you do not know how to do this), else icc will hang forever."
@${ECHO_CMD}
- @${ECHO_CMD} "WARNING: If you use icc while having linux-devtools installed, icc will use"
- @${ECHO_CMD} "the wrong includes and therefore will generate bogus binaries!"
+ @${ECHO_CMD} "WARNING: If you use icc while having linux_devtools installed, icc will use"
+ @${ECHO_CMD} "the wrong includes and therefore will generate bogus (not working) binaries!"
.include <bsd.port.post.mk>
diff --git a/lang/icc7/Makefile b/lang/icc7/Makefile
index d8c8d35d645..13349856529 100644
--- a/lang/icc7/Makefile
+++ b/lang/icc7/Makefile
@@ -43,6 +43,11 @@ OBJCOPY?= /usr/bin/objcopy
IGNORE= "Please manually download ${DISTFILES} from ${ICC_SITE}, ${ICC_SITE}c60l/noncom.htm or https://premier.intel.com/ \(whichever has the file, to access premier.intel.com you have to register at http://www.intel.com/software/products/registrationcenter/index.htm\). With a little bit of luck it may also be available from ftp://download.intel.com/software/products/compilers/downloads/. Put it into ${DISTDIR} and run make again"
.endif
+.if exists(${LINUXBASE}/boot/kernel.h) || \
+ exists(${PREFIX}/intel/compiler60/bin/ifc)
+BROKEN= Can not coexist with linux_devtools or ifc
+.endif
+
post-extract:
.for i in \
intel-icc6-6.0.1-304.i386.rpm \
@@ -141,7 +146,7 @@ post-install:
@${ECHO_CMD} "in your kernel config (have a look at http://www.FreeBSD.org/handbook/"
@${ECHO_CMD} "if you do not know how to do this), else icc will hang forever."
@${ECHO_CMD}
- @${ECHO_CMD} "WARNING: If you use icc while having linux-devtools installed, icc will use"
- @${ECHO_CMD} "the wrong includes and therefore will generate bogus binaries!"
+ @${ECHO_CMD} "WARNING: If you use icc while having linux_devtools installed, icc will use"
+ @${ECHO_CMD} "the wrong includes and therefore will generate bogus (not working) binaries!"
.include <bsd.port.post.mk>