diff options
author | nia <nia@pkgsrc.org> | 2019-05-27 17:21:01 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2019-05-27 17:21:01 +0000 |
commit | 9c5e3e29064b1ec89247fd341f7ab63311874eee (patch) | |
tree | e98a0222c8b1343bca8fff2812e604a84bf76cfb /devel/SDL2/Makefile | |
parent | 9ccfa9b78fe51d635d896fa2912f6b6aec270c3d (diff) | |
download | pkgsrc-9c5e3e29064b1ec89247fd341f7ab63311874eee.tar.gz |
SDL2: Always --disable-x11-shared so X11 is linked the normal way.
This fixes creating a GL context with r600_dri (and probably other drivers)
on NetBSD with native X, where otherwise missing libxcb symbol errors
happen.
Programs this unbreaks include fasttracker2, mednafen. Programs this
doesn't unbreak include nestopia (uses libepoxy).
This is a workaround, but we're already doing the same in the SDL1
package...
Bump PKGREVISION.
Diffstat (limited to 'devel/SDL2/Makefile')
-rw-r--r-- | devel/SDL2/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/SDL2/Makefile b/devel/SDL2/Makefile index a47381bc16f..4514c5596fd 100644 --- a/devel/SDL2/Makefile +++ b/devel/SDL2/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.35 2019/05/24 18:13:36 nia Exp $ +# $NetBSD: Makefile,v 1.36 2019/05/27 17:21:01 nia Exp $ DISTNAME= SDL2-2.0.9 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= devel MASTER_SITES= http://www.libsdl.org/release/ @@ -19,6 +19,8 @@ PKGCONFIG_OVERRIDE+= sdl2.pc.in CONFIGURE_ENV+= SDL_RLD_FLAGS="${COMPILER_RPATH_FLAG}${PREFIX}/lib \ ${COMPILER_RPATH_FLAG}${X11BASE}/lib" +CONFIGURE_ARGS+= --disable-x11-shared + CHECK_PORTABILITY_SKIP+=build-scripts/androidbuildlibs.sh CHECK_PORTABILITY_SKIP+=build-scripts/iosbuild.sh |