diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-06-27 09:37:38 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-06-27 09:37:38 +0800 |
commit | 2cb32961d0c846654331ff9fd0c04ce312f3db00 (patch) | |
tree | b756b5cc1396f40c8dde5047a453053048df6ef5 /devel | |
parent | 45ed653ed43172aa268eb65425200ff2c0e54dca (diff) | |
download | freebsd-ports-gnome-2cb32961d0c846654331ff9fd0c04ce312f3db00.tar.gz freebsd-ports-gnome-2cb32961d0c846654331ff9fd0c04ce312f3db00.tar.zst freebsd-ports-gnome-2cb32961d0c846654331ff9fd0c04ce312f3db00.zip |
- Fix build on pre-10.x by requiring newer compiler
- Fix build on i386 by enabling sse support
Submitted by: pkg-fallout
Approved by: portmgr blanket
Diffstat (limited to 'devel')
-rw-r--r-- | devel/freeocl/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/freeocl/Makefile b/devel/freeocl/Makefile index 106f42abf91c..94420852b45e 100644 --- a/devel/freeocl/Makefile +++ b/devel/freeocl/Makefile @@ -21,12 +21,14 @@ CONFLICTS= ocl-icd[0-9]* opencl-icd[0-9]* pocl[0-9]* WRKSRC= ${WRKDIR}/FreeOCL-${PORTVERSION}-Source USE_GCC= any -USES= cmake +USES= cmake compiler:c++11-lib USE_LDCONFIG= yes CXXFLAGS+= -pthread -std=gnu++0x CMAKE_ENV+= FREEOCL_CXX_COMPILER="${CXX}" +CFLAGS_i386= -msse + post-patch: ${REINPLACE_CMD} -e 's:%%PREFIX%%:${PREFIX}:g' ${WRKSRC}/src/icd/icd_loader.cpp \ ${WRKSRC}/CMakeLists.txt |