Subject: pkg/33707: [patch] multimedia/mpeg4ip - prevent configure script from picking up host system libraries
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <peter.schuller@infidyne.com>
List: pkgsrc-bugs
Date: 06/12/2006 23:20:01
>Number:         33707
>Category:       pkg
>Synopsis:       [patch] multimedia/mpeg4ip - prevent configure script from picking up host system libraries
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 12 23:20:01 +0000 2006
>Originator:     Peter Schuller
>Release:        None, FreeBSD 6.1
>Organization:
>Environment:
FreeBSD scode.mine.nu 6.1-RELEASE FreeBSD 6.1-RELEASE #4: Fri May 26 22:40:45 CEST 2006     scode@scode.mine.nu:/usr/obj/usr/src/sys/PROMETHEUS  i386

>Description:
multimedia/mpeg4ip picks up host system X11 libraries. For example, it fails to build on a FreeBSD machine with audio/nas installed from ports, because the configure scripts detects the presence of /usr/X11R6/include/audio/audiolib.h (which is not accessible to the compiler).

>How-To-Repeat:
'make install' on FreeBSD
>Fix:
The following patch addresses the issue by patching the affected configure scripts. Build test done on FreeBSD 6.1 and NetBSD 3.0:ish.

http://starfury.scode.org/pkgsrc/mpeg4ip-x11base.diff

(Is this the preferred way to do this? Should one have autoconf be re-run instead, or do something else?)