pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/SDL2



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Dec 24 16:24:35 UTC 2018

Modified Files:
        pkgsrc/devel/SDL2: options.mk

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


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/SDL2/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/SDL2/options.mk
diff -u pkgsrc/devel/SDL2/options.mk:1.8 pkgsrc/devel/SDL2/options.mk:1.9
--- pkgsrc/devel/SDL2/options.mk:1.8    Sun Dec 23 14:27:15 2018
+++ pkgsrc/devel/SDL2/options.mk        Mon Dec 24 16:24:35 2018
@@ -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 @@ CONFIGURE_ARGS+=    --disable-x11-shared
 
 .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