diff options
author | Steve Wills <swills@FreeBSD.org> | 2019-04-13 00:57:27 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2019-04-13 00:57:27 +0000 |
commit | 9ee6dab95fa52d162a174a7a22b3c49b2e957427 (patch) | |
tree | b8a889d55889015f34dce3303488786c77c60b17 /games/diaspora | |
parent | a2135e4f4eaa718fe16dde98dc5ae26281b5f9c4 (diff) | |
download | ports-9ee6dab95fa52d162a174a7a22b3c49b2e957427.tar.gz ports-9ee6dab95fa52d162a174a7a22b3c49b2e957427.zip |
games/diaspora: fix build with GCC-based architectures
PR: 237215
Submitted by: Piotr Kubaj <pkubaj@anongoth.pl>
Approved by: lightside <lightside@gmx.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=498783
Diffstat (limited to 'games/diaspora')
-rw-r--r-- | games/diaspora/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/games/diaspora/Makefile b/games/diaspora/Makefile index a90ce0e6ad4d..d8a4d528643c 100644 --- a/games/diaspora/Makefile +++ b/games/diaspora/Makefile @@ -31,7 +31,7 @@ LIB_DEPENDS= libjansson.so:devel/jansson \ libvorbisfile.so:audio/libvorbis \ libtheora.so:multimedia/libtheora -USES= autoreconf jpeg lua:51 openal pkgconfig tar:lzma +USES= autoreconf gl jpeg lua:51 openal pkgconfig sdl tar:lzma USE_CXXSTD= gnu++98 USE_GL= gl glu USE_SDL= sdl @@ -72,6 +72,10 @@ POST_PLIST+= build-plist-empty BROKEN_aarch64= Fails to compile: cast from pointer to smaller type loses information +.if exists(/usr/lib/libstdc++.so) +CXXFLAGS+= -fpermissive +.endif + post-extract: .SILENT .for v in 1.1 1.1.1 (cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \ |