iconv include/link paths

Kurt Miller kurt at intricatesoftware.com
Wed May 6 18:13:52 UTC 2015


On Wed, 2015-05-06 at 13:56 -0400, Christos Zoulas wrote:
> On May 6, 12:35pm, kurt at intricatesoftware.com (Kurt Miller) wrote:
> -- Subject: iconv include/link paths
> 
> | Hi Greg, Christos,
> | 
> | On OpenBSD libiconv is a port/package and installs under
> | PACKAGE_PATH. Isn't that the case for FreeBSD and NetBSD too?
> | 
> | Does the following diff help or at least not hurt FreeBSD and
> | NetBSD builds? If there's an issue, I'll restrict the changes
> | to OpenBSD only.
> | 
> | Thanks,
> | -Kurt
> | 
> | +    LDFLAGS_bsd := -L$(PACKAGE_PATH)/lib -liconv, \
> 
> Don't you need -Wl,-R or -R too? I think NetBSD needs it...

Do you mean for rpath? OpenBSD has $PACKAGE_PATH/lib (/usr/local/lib)
already pre-configured as a search path for ldconfig, so I don't
believe we need it.

-Kurt



More information about the bsd-port-dev mailing list