summaryrefslogtreecommitdiff
path: root/devel/SDL
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-09-05 11:21:53 +0000
committerjperkin <jperkin@pkgsrc.org>2015-09-05 11:21:53 +0000
commit062f3aad63f3cf43cc3bf37a533c0854a450299a (patch)
tree83ddc3a4e483888c8af5a5c5789ef79befa28958 /devel/SDL
parentfea19fd8dbe1656a28c6e86a5e26574886bcec92 (diff)
downloadpkgsrc-062f3aad63f3cf43cc3bf37a533c0854a450299a.tar.gz
Pass --disable-sdltest on Darwin when using GNU configure, fixes various
issues (crashes, hangs) when building SDL packages in a session which isn't logged into the console. Tested in a full bulk build, some packages issue warnings for it being an unrecognized option but I cannot see any failures due to it, and it fixes a reasonable number of package builds.
Diffstat (limited to 'devel/SDL')
-rw-r--r--devel/SDL/buildlink3.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/SDL/buildlink3.mk b/devel/SDL/buildlink3.mk
index bc98b801104..8ce9d197303 100644
--- a/devel/SDL/buildlink3.mk
+++ b/devel/SDL/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.32 2015/04/25 14:20:31 tnn Exp $
+# $NetBSD: buildlink3.mk,v 1.33 2015/09/05 11:21:53 jperkin Exp $
BUILDLINK_TREE+= SDL
@@ -24,6 +24,12 @@ PTHREAD_OPTS+= require
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
+# SDL tests on OSX only work for the user logged in on the console, otherwise
+# they hang or crash.
+.if ${OPSYS} == "Darwin" && defined(GNU_CONFIGURE)
+CONFIGURE_ARGS+= --disable-sdltest
+.endif
+
pkgbase := SDL
.include "../../mk/pkg-build-options.mk"