Date: Thu, 8 Sep 2011 10:07:24 -0400 From: Eitan Adler <lists@eitanadler.com> To: multimedia@freebsd.org Subject: [patch] multimedia/mjpegtools build failure, implicit dependency issue Message-ID: <CAF6rxgkBAqDD%2Bm0QFg_4Fcr4WinC5TAEb5KBzdXS20XG%2Bz%2BJ3Q@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgkBAqDD%2Bm0QFg_4Fcr4WinC5TAEb5KBzdXS20XG%2Bz%2BJ3Q>
