Subject: pkg/23194: graphics/mjpegtools does not compile due to libiconv problem
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <Kai.Puolamaki@iki.fi>
List: netbsd-bugs
Date: 10/19/2003 17:25:08
>Number:         23194
>Category:       pkg
>Synopsis:       graphics/mjpegtools does not compile due to libiconv problem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 19 17:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kai Puolamaki
>Release:        1.6.1
>Organization:
Helsinki University of Technology
>Environment:
NetBSD winnie.localdomain 1.6.1 NetBSD 1.6.1 (WINNIE) #0: Thu Oct  9 21:55:34 EEST 2003     root@winnie.localdomain:/usr/src/sys/arch/i386/compile/WINNIE i386
>Description:
graphics/mjpegtools does not compile using recent pkgsrc 
because ld cannot find -liconv.
>How-To-Repeat:
root@winnie ~ # cd /usr/pkgsrc/graphics/mjpegtools
root@winnie mjpegtools # make
[clip]
ld: cannot find -liconv
gmake[2]: *** [lavplay] Error 1
[clip]
>Fix:
Add the following buildlink2 dependency to the Makefile:

root@winnie mjpegtools # diff -Nur Makefile.orig Makefile
--- Makefile.orig       Sun Oct 19 20:07:23 2003
+++ Makefile    Sun Oct 19 20:18:02 2003
@@ -25,6 +25,7 @@
 # XXX fix me
 CONFIGURE_ARGS+=       --without-avifile

+.include "../../converters/libiconv/buildlink2.mk"
 .include "../../audio/lame/buildlink2.mk"
 .include "../../devel/SDL/buildlink2.mk"
 #.include "../../graphics/avifile/buildlink2.mk"

>Release-Note:
>Audit-Trail:
>Unformatted: