Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2018 21:32:12 +0000 (UTC)
From:      Johannes M Dieterich <jmd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488629 - head/math/clrng
Message-ID:  <201812282132.wBSLWCOc012824@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jmd
Date: Fri Dec 28 21:32:12 2018
New Revision: 488629
URL: https://svnweb.freebsd.org/changeset/ports/488629

Log:
  math/clrng: fix with GCC based architectures
  
  PR:	234440
  Submitted by:	Piotr Kubaj

Modified:
  head/math/clrng/Makefile

Modified: head/math/clrng/Makefile
==============================================================================
--- head/math/clrng/Makefile	Fri Dec 28 21:20:08 2018	(r488628)
+++ head/math/clrng/Makefile	Fri Dec 28 21:32:12 2018	(r488629)
@@ -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 <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${CHOSEN_COMPILER_TYPE} == gcc
+CFLAGS+= -Wno-expansion-to-defined
+.endif
+
+.include <bsd.port.post.mk>



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