Lines 63-76
Link Here
|
63 |
.if ${PORT_OPTIONS:MGALLIUM} |
63 |
.if ${PORT_OPTIONS:MGALLIUM} |
64 |
. if defined(WITH_NEW_MESA) |
64 |
. if defined(WITH_NEW_MESA) |
65 |
# keep in sync with libopencl please |
65 |
# keep in sync with libopencl please |
66 |
BUILD_DEPENDS+= llvm34>=0:${PORTSDIR}/devel/llvm34 |
66 |
LIB_DEPENDS+= libLLVM-3.4.so:${PORTSDIR}/devel/llvm34 |
67 |
CONFIGURE_ENV+= LLVM_CONFIG=${LOCALBASE}/bin/llvm-config34 |
67 |
CONFIGURE_ENV+= LLVM_CONFIG=${LOCALBASE}/bin/llvm-config34 |
68 |
. else |
68 |
. else |
69 |
BUILD_DEPENDS+= llvm33>=0:${PORTSDIR}/devel/llvm33 |
69 |
LIB_DEPENDS+= libLLVM-3.3.so:${PORTSDIR}/devel/llvm33 |
70 |
CONFIGURE_ENV+= LLVM_CONFIG=${LOCALBASE}/bin/llvm-config33 |
70 |
CONFIGURE_ENV+= LLVM_CONFIG=${LOCALBASE}/bin/llvm-config33 |
71 |
. endif |
71 |
. endif |
72 |
|
72 |
|
73 |
CONFIGURE_ARGS+=--enable-gallium-llvm \ |
73 |
CONFIGURE_ARGS+=--enable-gallium-llvm --with-llvm-shared-libs \ |
74 |
--enable-xvmc \ |
74 |
--enable-xvmc \ |
75 |
--with-gallium-drivers=r300,r600,radeonsi,svga,swrast |
75 |
--with-gallium-drivers=r300,r600,radeonsi,svga,swrast |
76 |
PLIST_SUB+= GALLIUM="" |
76 |
PLIST_SUB+= GALLIUM="" |