From 062f3aad63f3cf43cc3bf37a533c0854a450299a Mon Sep 17 00:00:00 2001 From: jperkin Date: Sat, 5 Sep 2015 11:21:53 +0000 Subject: 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. --- devel/SDL/buildlink3.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'devel/SDL') 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" -- cgit v1.2.3