Subject: pkg/23823: libiconv *sometimes* won't build on FreeBSD
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <dotz@irc.pl>
List: netbsd-bugs
Date: 12/21/2003 15:07:35
>Number:         23823
>Category:       pkg
>Synopsis:       libiconv *sometimes* won't build on FreeBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 21 15:08:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Michal Pasternak
>Release:        None
>Organization:
Good people with bad reputation
>Environment:
FreeBSD mainframe.w.lub.pl 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon Oct 27 17:51:09 GMT 2003     root@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
FreeBSD sometimes can't build pkgsrc libiconv. The strange thing is, that the problem only occurs on a clean system, with only minimal package subset installed.
>How-To-Repeat:
Get a FreeBSD system; cd /usr/pkgsrc/devel/libiconv/ && bmake
>Fix:
Add

CONFIGURE_ARGS+=        --enable-relocatable

to libiconv's Makefile

Library built with this options works very good with FreeBSD, but I can't be sure with other operating systems. Please flank the ARGS+= line with .if ${OPSYS} == "FreeBSD" in case you're also unsure.
>Release-Note:
>Audit-Trail:
>Unformatted: