Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jun 2015 01:37:39 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r390686 - head/devel/freeocl
Message-ID:  <201506270137.t5R1bd4c008414@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506270137.t5R1bd4c008414>