aboutsummaryrefslogtreecommitdiff
path: root/graphics/povray37/Makefile
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2004-08-16 12:24:01 +0000
committerMaho Nakata <maho@FreeBSD.org>2004-08-16 12:24:01 +0000
commit17b9e725e69ba537b20fd373cfc4f28d18b9c5b8 (patch)
tree6f981fd110c96e423052f433992e5c8b0393c08e /graphics/povray37/Makefile
parent539307be339295fe82c0eb7d9881aa895a68ba27 (diff)
downloadports-17b9e725e69ba537b20fd373cfc4f28d18b9c5b8.tar.gz
ports-17b9e725e69ba537b20fd373cfc4f28d18b9c5b8.zip
Notes
Diffstat (limited to 'graphics/povray37/Makefile')
-rw-r--r--graphics/povray37/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/povray37/Makefile b/graphics/povray37/Makefile
index 9800fb5c5a5c..019807efec43 100644
--- a/graphics/povray37/Makefile
+++ b/graphics/povray37/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" \