diff options
Diffstat (limited to 'graphics/povray37/Makefile')
-rw-r--r-- | graphics/povray37/Makefile | 11 |
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" \ |