diff options
author | wiz <wiz> | 2003-06-29 11:19:09 +0000 |
---|---|---|
committer | wiz <wiz> | 2003-06-29 11:19:09 +0000 |
commit | 0f84d269e9f88598aacb2cb7a1bdb1f868a2414f (patch) | |
tree | bbc6d36920449040dd64b1c194bd62dc7d834b0c /converters | |
parent | 7aa360267fcb547a3fc9e460b40552c03284e181 (diff) | |
download | pkgsrc-0f84d269e9f88598aacb2cb7a1bdb1f868a2414f.tar.gz |
Check for existence of /usr/lib/libiconv.so too, not only for the header
file. Needed for some broken (Linux) installs.
From Sebastian P. on tech-pkg.
Diffstat (limited to 'converters')
-rw-r--r-- | converters/libiconv/buildlink2.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/converters/libiconv/buildlink2.mk b/converters/libiconv/buildlink2.mk index eb881eabf80..5afd9de847a 100644 --- a/converters/libiconv/buildlink2.mk +++ b/converters/libiconv/buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink2.mk,v 1.5 2003/03/14 19:37:32 jlam Exp $ +# $NetBSD: buildlink2.mk,v 1.6 2003/06/29 11:19:09 wiz Exp $ .if !defined(ICONV_BUILDLINK2_MK) ICONV_BUILDLINK2_MK= # defined @@ -12,7 +12,7 @@ BUILDLINK_PKGSRCDIR.iconv?= ../../converters/libiconv _NEED_ICONV= YES _BLNK_LIBICONV_FOUND= NO .else -. if exists(/usr/include/iconv.h) +. if exists(/usr/include/iconv.h) && exists(/usr/lib/libiconv.so) _NEED_ICONV= NO _BLNK_LIBICONV_LIST!= ${ECHO} /usr/lib/libiconv.* . if ${_BLNK_LIBICONV_LIST} != "/usr/lib/libiconv.*" |