diff --git a/math/clrng/Makefile b/math/clrng/Makefile index 4295cfe3ac54..20ffbfe23bab 100644 --- a/math/clrng/Makefile +++ b/math/clrng/Makefile @@ -4,7 +4,7 @@ PORTNAME= clrng DISTVERSIONPREFIX= v DISTVERSION= 1.0.0-beta -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MAINTAINER= jmd@FreeBSD.org @@ -34,4 +34,10 @@ CMAKE_ARGS+= -DBUILD_CLIENT=OFF \ CMAKE_SOURCE_PATH= ${WRKSRC}/src -.include +.include + +.if ${CHOSEN_COMPILER_TYPE} == gcc +CFLAGS+= -Wno-expansion-to-defined +.endif + +.include