From 7bf4c1f7ad2d5b674e402b3d32c3b801aabed497 Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 29 Jun 2003 11:19:09 +0000 Subject: 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. --- converters/libiconv/buildlink2.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'converters/libiconv') 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.*" -- cgit v1.2.3