summaryrefslogtreecommitdiff
path: root/converters/libiconv
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-06-29 11:19:09 +0000
committerwiz <wiz@pkgsrc.org>2003-06-29 11:19:09 +0000
commit7bf4c1f7ad2d5b674e402b3d32c3b801aabed497 (patch)
treebbc6d36920449040dd64b1c194bd62dc7d834b0c /converters/libiconv
parentc9ed0ac02c2d688cdaf7cb0da325151feb42ec5b (diff)
downloadpkgsrc-7bf4c1f7ad2d5b674e402b3d32c3b801aabed497.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/libiconv')
-rw-r--r--converters/libiconv/buildlink2.mk4
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.*"