svn commit: r498783 - head/games/diaspora
Steve Wills
swills at FreeBSD.org
Sat Apr 13 00:57:28 UTC 2019
Author: swills
Date: Sat Apr 13 00:57:27 2019
New Revision: 498783
URL: https://svnweb.freebsd.org/changeset/ports/498783
Log:
games/diaspora: fix build with GCC-based architectures
PR: 237215
Submitted by: Piotr Kubaj <pkubaj at anongoth.pl>
Approved by: lightside <lightside at gmx.com> (maintainer)
Modified:
head/games/diaspora/Makefile (contents, props changed)
Modified: head/games/diaspora/Makefile
==============================================================================
--- head/games/diaspora/Makefile Sat Apr 13 00:51:04 2019 (r498782)
+++ head/games/diaspora/Makefile Sat Apr 13 00:57:27 2019 (r498783)
@@ -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
@@ -71,6 +71,10 @@ WXLAUNCHER_VARS= PORTDATA+="resources *.ini *.png *.bm
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
More information about the svn-ports-head
mailing list