pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/SDL2 SDL2: Revert previous since the Raspberry P...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e12aef40ee4f
branches:  trunk
changeset: 389266:e12aef40ee4f
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Dec 24 16:24:35 2018 +0000

description:
SDL2: Revert previous since the Raspberry Pi problems are fixed.

diffstat:

 devel/SDL2/options.mk |  18 ++++++------------
 1 files changed, 6 insertions(+), 12 deletions(-)

diffs (31 lines):

diff -r 5c4f97fff0b1 -r e12aef40ee4f devel/SDL2/options.mk
--- a/devel/SDL2/options.mk     Mon Dec 24 14:45:50 2018 +0000
+++ b/devel/SDL2/options.mk     Mon Dec 24 16:24:35 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.8 2018/12/23 14:27:15 nia Exp $
+# $NetBSD: options.mk,v 1.9 2018/12/24 16:24:35 nia Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.SDL2
 PKG_OPTIONS_REQUIRED_GROUPS=   gl
@@ -76,16 +76,10 @@
 
 .if !empty(PKG_OPTIONS:Mrpi)
 LOWER_VENDOR=          raspberry
-# fails to produce shared libraries
-# try standard GLES instead
-CONFIGURE_ARGS+=       --disable-video-rpi
-CONFIGURE_ARGS+=       --enable-video-opengles
-CONFIGURE_ARGS+=       --enable-video-opengles1
-CONFIGURE_ARGS+=       --enable-video-opengles2
-SUBST_CLASSES+=                gles
-SUBST_STAGE.gles=      pre-configure
-SUBST_MESSAGE.gles=    Fixing name of GLES library.
-SUBST_FILES.gles=      src/video/SDL_egl.c
-SUBST_SED.gles+=       -e 's/libGLESv2.so.2/libGLESv2.so/g'
+SUBST_CLASSES+=                vc                                             
+SUBST_STAGE.vc=                pre-configure                                  
+SUBST_MESSAGE.vc=      Fixing path to VideoCore libraries.                    
+SUBST_FILES.vc=                configure                                      
+SUBST_SED.vc+=         -e "s;/opt/vc;${PREFIX};g"
 .include "../../misc/raspberrypi-userland/buildlink3.mk"
 .endif



Home | Main Index | Thread Index | Old Index