svn commit: r390686 - head/devel/freeocl

Dmitry Marakasov amdmi3 at FreeBSD.org
Sat Jun 27 01:37:39 UTC 2015


Author: amdmi3
Date: Sat Jun 27 01:37:38 2015
New Revision: 390686
URL: https://svnweb.freebsd.org/changeset/ports/390686

Log:
  - 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

Modified:
  head/devel/freeocl/Makefile

Modified: head/devel/freeocl/Makefile
==============================================================================
--- head/devel/freeocl/Makefile	Sat Jun 27 01:23:44 2015	(r390685)
+++ head/devel/freeocl/Makefile	Sat Jun 27 01:37:38 2015	(r390686)
@@ -21,12 +21,14 @@ CONFLICTS=	ocl-icd[0-9]* opencl-icd[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


More information about the svn-ports-head mailing list