svn commit: r488629 - head/math/clrng
Johannes M Dieterich
jmd at FreeBSD.org
Fri Dec 28 21:32:13 UTC 2018
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 at 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>
More information about the svn-ports-all
mailing list