Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Aug 2019 22:16:55 +0000 (UTC)
From:      Diane Bruce <db@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r509183 - head/comms/gnuradio
Message-ID:  <201908172216.x7HMGtmF033107@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: db
Date: Sat Aug 17 22:16:54 2019
New Revision: 509183
URL: https://svnweb.freebsd.org/changeset/ports/509183

Log:
  Unbreak on non head FreeBSD
  Use latest clang on all versions of FreeBSD
  
  Submitted by:		pkg-fallout

Modified:
  head/comms/gnuradio/Makefile

Modified: head/comms/gnuradio/Makefile
==============================================================================
--- head/comms/gnuradio/Makefile	Sat Aug 17 22:13:44 2019	(r509182)
+++ head/comms/gnuradio/Makefile	Sat Aug 17 22:16:54 2019	(r509183)
@@ -31,7 +31,8 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-
 		minixmlto:textproc/minixmlto \
 		sdl-config:devel/sdl12 \
 		swig3.0:devel/swig30 \
-		xdg-open:devel/xdg-utils
+		xdg-open:devel/xdg-utils \
+		${LOCALBASE}/bin/clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
 LIB_DEPENDS=	libcodec2.so:audio/codec2 \
 		libfftw3.so:math/fftw3 \
 		libfftw3f.so:math/fftw3-float \
@@ -49,11 +50,7 @@ LIB_DEPENDS=	libcodec2.so:audio/codec2 \
 		libzmq.so:net/libzmq4
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
-# USES=compiler:c11 is necessary because base GCC fails:
-# volk/lib/volk_cpu.c: In function 'i_can_has_3dnow':
-# volk/lib/volk_cpu.c:62: error: can't find a register in class 'BREG' while reloading 'asm'
-# volk/lib/volk_cpu.c:62: error: 'asm' operand has impossible constraints
-USES=		cmake compiler:c11 desktop-file-utils fortran gnome iconv \
+USES=		cmake desktop-file-utils fortran gnome iconv \
 		perl5 pkgconfig pyqt:5 python:2.7 qt:5 shared-mime-info shebangfix
 
 SHEBANG_FILES=	grc/scripts/freedesktop/grc_setup_freedesktop.in \
@@ -71,10 +68,14 @@ CMAKE_ARGS+=	-DCMAKE_INSTALL_RPATH:STRING="${LOCALBASE
 		-DXMLTO_EXECUTABLE:STRING=minixmlto
 # for detailed debugging uncomment the next line
 #CMAKE_ARGS+=	--debug-output --trace
+USE_CXXSTD=	c++11
 USE_GNOME=	pygtk2
 USE_PYQT=	core gui opengl
 USE_WX=		3.0
 USE_QT=		buildtools core gui xml qmake widgets
+CPP=		${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT}
+CC=		${LOCALBASE}/bin/clang${LLVM_DEFAULT}
+CXX=		${LOCALBASE}/bin/clang++${LLVM_DEFAULT}
 WX_COMPS=	wx wx:build wx:run python:build python:run
 USE_LDCONFIG=	yes
 LIBSTRIP_FILES=	analog audio blocks channels digital dtv fec fft\



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