Subject: pkg/23286: gst-plugins does not build when mjpegtools is installed
To: None <gnats-bugs@gnats.netbsd.org>
From: None <sutre@labri.fr>
List: netbsd-bugs
Date: 10/27/2003 19:47:20
>Number:         23286
>Category:       pkg
>Synopsis:       gst-plugins does not build when mjpegtools is installed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 27 18:48:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6.1_STABLE
>Organization:
	
>Environment:
System: NetBSD blues.labri.fr 1.6.1_STABLE NetBSD 1.6.1_STABLE (MYKERNEL) #0: Fri Oct 10 23:58:48 CEST 2003 instsoft@blues.labri.fr:/usr/src/sys/arch/i386/compile/MYKERNEL i386
Architecture: i386
Machine: i386
>Description:
When package graphics/mjpegtools is installed, package misc/gst-plugins does
not build. However, if mjpegtools is not installed, then gst-plugins builds
finely.

I guess this is due to the fact that gst-plugins' configure script detects
that mjpegtools is installed and automatically enables support for it,
whereas mjpegtools is not buildlinked in gst-plugins' Makefile.

>How-To-Repeat:
Make sure that mjpegtools is installed, and try to build gst-plugins.

>Fix:

Add .include "../../graphics/mjpegtools/buildlink2.mk" in gst-plugins'
Makefile. Or (untested) add CONFIGURE_ARGS+= --disable-mjpegtools instead.
>Release-Note:
>Audit-Trail:
>Unformatted: