aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-12-20 01:15:23 +0800
committeryuri <yuri@FreeBSD.org>2018-12-20 01:15:23 +0800
commit8598bc91dc112ef1b62041474e8eee8ba729ec30 (patch)
treeab89d7eea76d037a7b00bf665a5f20bacd632260 /graphics
parentfa6b6f6d87efe75b6b5f9112dedc5b3f32e83c02 (diff)
downloadfreebsd-ports-gnome-8598bc91dc112ef1b62041474e8eee8ba729ec30.tar.gz
freebsd-ports-gnome-8598bc91dc112ef1b62041474e8eee8ba729ec30.tar.zst
freebsd-ports-gnome-8598bc91dc112ef1b62041474e8eee8ba729ec30.zip
graphics/radiance: fix build with GCC-based architectures
PR: 234166 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/radiance/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/radiance/Makefile b/graphics/radiance/Makefile
index 8573d0b13089..3e8c05628f2d 100644
--- a/graphics/radiance/Makefile
+++ b/graphics/radiance/Makefile
@@ -30,4 +30,7 @@ USE_GL= gl glu
CMAKE_ARGS= -DRADIANCE_SYSTEM_RESOURCES:STRING=${DATADIR}/
+post-patch:
+ @${REINPLACE_CMD} '/-march=native/d' ${WRKSRC}/CMakeLists.txt
+
.include <bsd.port.mk>