View | Details | Raw Unified | Return to bug 271353
Collapse All | Expand All

(-)b/multimedia/smpeg/Makefile (-1 / +1 lines)
Lines 17-23 USE_LDCONFIG= yes Link Here
17
17
18
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
19
CONFIGURE_ENV=	GLBASE="${LOCALBASE}" \
19
CONFIGURE_ENV=	GLBASE="${LOCALBASE}" \
20
		CC="${CXX}" REAL_CC="${CC}" \
20
		CC="${CC}" CXX="${CXX} -std=gnu++98" \
21
		SDL_CONFIG="${SDL_CONFIG}"
21
		SDL_CONFIG="${SDL_CONFIG}"
22
#If you want to try the opengl/gtk player (which doesn't seem to work)
22
#If you want to try the opengl/gtk player (which doesn't seem to work)
23
#comment out the following line.
23
#comment out the following line.
(-)b/multimedia/smpeg/files/patch-configure (-8 lines)
Lines 9-19 Link Here
9
 EOF
9
 EOF
10
 if { (eval echo configure:1061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10
 if { (eval echo configure:1061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11
   ac_cv_prog_cc_works=yes
11
   ac_cv_prog_cc_works=yes
12
@@ -2335,6 +2332,7 @@ rm -f conftest*
13
 
14
 CFLAGS="$CFLAGS $SDL_CFLAGS"
15
 LIBS="$LIBS $SDL_LIBS"
16
+CC="$REAL_CC"
17
 
18
 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
19
 echo "configure:2341: checking for sqrt in -lm" >&5

Return to bug 271353