Subject: devel/flex dependencies
To: None <tech-pkg@netbsd.org>
From: None <segv@netctl.net>
List: tech-pkg
Date: 11/04/2005 14:42:22
bash-3.00# ldd `which flex`
        libintl.so.2 =>  (file not found)
        libiconv.so.2 =>         (file not found)
        libc.so.1 =>     /lib/libc.so.1
        libm.so.2 =>     /lib/libm.so.2
        /platform/SUNW,Ultra-5_10/lib/libc_psr.so.1

flex was built with gcc-4.0.2 and devel/flex/Makefile does not cater for
libintl and libiconv. Should flex be made to depend on those libraries? Why
does this happen for gcc-4.0.2 and not gcc-3.3.x?

I modified mk/compiler/gcc.mk to include support for gcc-4.0.2, could that be
that the above 2 libraries are not found?