Loading...

freebsd-multimedia@freebsd.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

[patch] multimedia/mjpegtools build failure, implicit dependency issue Eitan Adler Thu Sep 08 18:01:02 2011

Hi,
A user reported to me some problems with the multimedia/mjpegtools port.
1) ports/157885 results in an ICE with optimizations enabled
2) The port does not explicitly disable SDL when WITHOUT_SDL is requested.

Here is a patch that fixes these issues.

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/multimedia/mjpegtools/Makefile,v
retrieving revision 1.74
diff -u -r1.74 Makefile
--- Makefile    2 Jul 2011 19:59:19 -0000       1.74
+++ Makefile    8 Sep 2011 13:16:36 -0000
@@ -30,7 +30,9 @@
 WANT_SDL=      yes
 USE_GMAKE=     yes
 USE_AUTOTOOLS= libtool
+CFLAGS=                -O0
 CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" \
+               CFLAGS="${CFLAGS}" \
                PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
                PTHREAD_LIBS="${PTHREAD_LIBS}" \
                ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=no
@@ -70,6 +72,7 @@

 .if defined(WITHOUT_SDL)
 CONFIGURE_ENV+=        ac_cv_path_SDL_CONFIG=no
+CONFIGURE_ARGS+=--without-libsdl
 PLIST_SUB+=    SDL:="@comment "
 .else
 USE_SDL+=      gfx sdl

-- 
Eitan Adler
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
To unsubscribe, send any mail to "[EMAIL PROTECTED]"