lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some circumstances such as versions of FreeBSD or platforms). This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using using Mk/bsd.octave.mk which in turn has USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang, c++11-lang, c++0x, c11, or gcc-c++11-lib. PR: 216707
36 lines
944 B
Makefile
36 lines
944 B
Makefile
# Created by: Shane Ambler <FreeBSD@Shaneware.biz>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= openshadinglanguage
|
|
PORTVERSION= 1.7.5
|
|
PORTREVISION= 1
|
|
DISTVERSIONPREFIX= Release-
|
|
CATEGORIES= graphics devel
|
|
|
|
MAINTAINER= FreeBSD@Shaneware.biz
|
|
COMMENT= Advanced shading language for production GI renderers
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
BUILD_DEPENDS= llvm-config34:devel/llvm34 \
|
|
clang34>=3.4_1:lang/clang34
|
|
LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
|
|
libIlmImf.so:graphics/OpenEXR \
|
|
libImath.so:graphics/ilmbase \
|
|
libOpenImageIO.so:graphics/openimageio
|
|
RUN_DEPENDS= llvm-config34:devel/llvm34
|
|
|
|
USES= bison cmake:outsource compiler:c++11-lib ncurses
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= imageworks
|
|
GH_PROJECT= OpenShadingLanguage
|
|
|
|
CMAKE_ARGS= -DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config34" \
|
|
-DENABLERTTI:BOOL=ON
|
|
USE_LDCONFIG= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,/bin/bash,/bin/sh,' \
|
|
${WRKSRC}/src/liboslexec/serialize-bc.bash
|
|
|
|
.include <bsd.port.mk>
|