aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2020-06-18 01:23:03 +0000
committerMark Linimon <linimon@FreeBSD.org>2020-06-18 01:23:03 +0000
commit89dc5395ec6ac88c5c130aed6f8dcea401604696 (patch)
treeab6e264e8397c8536fd2e8bcdcd257a1e3f728e2 /x11-toolkits
parentee5ce128e3436f31969e3deda5a4280fe32aa2b9 (diff)
downloadports-89dc5395ec6ac88c5c130aed6f8dcea401604696.tar.gz
ports-89dc5395ec6ac88c5c130aed6f8dcea401604696.zip
Add compiler:c++11-lang to USES to attempt to fix build on GCC-based
systems. It is necessary but insufficient, but at least it allows us to get further. Now it fails on powerpc64-12 the same way it does on powerpc64-13: callback.c: error: initializer element is not a compile-time constant Approved by: portmgr (tier-2 blanket)
Notes
Notes: svn path=/head/; revision=539514
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/swt/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11-toolkits/swt/Makefile b/x11-toolkits/swt/Makefile
index 4fedfb9c8fa0..0d25ce153631 100644
--- a/x11-toolkits/swt/Makefile
+++ b/x11-toolkits/swt/Makefile
@@ -14,7 +14,7 @@ LICENSE= EPL
ONLY_FOR_ARCHS= amd64 i386 powerpc64
-USES= gl gnome pkgconfig zip:infozip xorg
+USES= compiler:c++11-lang gl gnome pkgconfig zip:infozip xorg
USE_ANT= yes
USE_GL= glu gl