diff options
author | seb <seb@pkgsrc.org> | 2003-09-02 18:20:33 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2003-09-02 18:20:33 +0000 |
commit | 529e68e4f13ced584281fc063288331b8b4b15fc (patch) | |
tree | 71279c31e58e58f8deeec09ec8c102f5f8fa0fff /converters/libiconv | |
parent | d0c820332d63e55356b0bfe3e0d5c7fc1de920e3 (diff) | |
download | pkgsrc-529e68e4f13ced584281fc063288331b8b4b15fc.tar.gz |
NetBSD-current provide iconv(3) functionality in libc not
libiconv. Some packages insist on adding '-liconv' during link
or assumes the existent of it with they found iconv.h.
BUILDLINK_TRANSFORM can handle that.
Put it in in libiconv/buildlink2.mk for systematic coverage and
remove it from package "Makefile".
BTW this fix the build of chat/centericq - and probably others - on
-current.
Okayed by jlam@.
Diffstat (limited to 'converters/libiconv')
-rw-r--r-- | converters/libiconv/buildlink2.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/converters/libiconv/buildlink2.mk b/converters/libiconv/buildlink2.mk index c40fa7a7a77..3e652eae8e8 100644 --- a/converters/libiconv/buildlink2.mk +++ b/converters/libiconv/buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink2.mk,v 1.9 2003/08/18 03:37:47 jmc Exp $ +# $NetBSD: buildlink2.mk,v 1.10 2003/09/02 18:20:33 seb Exp $ .if !defined(ICONV_BUILDLINK2_MK) ICONV_BUILDLINK2_MK= # defined @@ -44,6 +44,7 @@ BUILDLINK_PREFIX.iconv= /usr _BLNK_ICONV_LDFLAGS= -liconv . else _BLNK_ICONV_LDFLAGS= # empty +BUILDLINK_TRANSFORM+= S:-liconv: . endif .endif BUILDLINK_LIBICONV_LDADD= -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.iconv}/lib |