aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/povray36
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2004-08-16 20:24:01 +0800
committermaho <maho@FreeBSD.org>2004-08-16 20:24:01 +0800
commitd2c808b46252ec28ecbd305c2406041fda1d6f84 (patch)
tree9f148d0a8357f563d777f2f391fd83f8cde74512 /graphics/povray36
parenteb93738ad61d7c3d7ccc32192124ceaddfb91e91 (diff)
downloadfreebsd-ports-gnome-d2c808b46252ec28ecbd305c2406041fda1d6f84.tar.gz
freebsd-ports-gnome-d2c808b46252ec28ecbd305c2406041fda1d6f84.tar.zst
freebsd-ports-gnome-d2c808b46252ec28ecbd305c2406041fda1d6f84.zip
Intel C/C++ compiler support via WITH_ICC
Diffstat (limited to 'graphics/povray36')
-rw-r--r--graphics/povray36/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/povray36/Makefile b/graphics/povray36/Makefile
index 9800fb5c5a5c..019807efec43 100644
--- a/graphics/povray36/Makefile
+++ b/graphics/povray36/Makefile
@@ -22,6 +22,10 @@ DIST_SUBDIR= povray35
MAINTAINER= maho@FreeBSD.org
COMMENT= Persistence of Vision Ray Tracer
+.if defined(WITH_ICC)
+BUILD_DEPENDS= ${LOCALBASE}/intel_cc_80/bin/icc:${PORTSDIR}/lang/icc
+.endif
+
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
tiff:${PORTSDIR}/graphics/tiff \
jpeg:${PORTSDIR}/graphics/jpeg
@@ -45,6 +49,13 @@ CXXFLAGS+= -mfancy-math-387 -mpreferred-stack-boundary=3 -malign-double
.endif # i386
.endif
+.if defined(WITH_ICC)
+CC= ${LOCALBASE}/intel_cc_80/bin/icc
+CXX= ${LOCALBASE}/intel_cc_80/bin/icpc
+CFLAGS= -O3 -tpp7 -xKW -Vaxlib
+CXXFLAGS= -O3 -tpp7 -xKW -Vaxlib
+.endif
+
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --x-includes=${X11BASE}/include
CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -L${LOCALBASE}/lib -I${LOCALBASE}/include" \