pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/libiconv Assume that DragonFly's native lib...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eaa0a8e1c86a
branches:  trunk
changeset: 495229:eaa0a8e1c86a
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Sun Jun 05 10:00:20 2005 +0000

description:
Assume that DragonFly's native libiconv is good enough for pkgsrc, just as
we do for NetBSD.  Patch from Joerg Sonnenberger.

diffstat:

 converters/libiconv/builtin.mk |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r 717f200c5e94 -r eaa0a8e1c86a converters/libiconv/builtin.mk
--- a/converters/libiconv/builtin.mk    Sun Jun 05 09:49:01 2005 +0000
+++ b/converters/libiconv/builtin.mk    Sun Jun 05 10:00:20 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.11 2005/06/05 09:25:37 jlam Exp $
+# $NetBSD: builtin.mk,v 1.12 2005/06/05 10:00:20 jmmv Exp $
 
 BUILTIN_PKG:=  iconv
 
@@ -91,10 +91,11 @@
        fi
 .      endif
 # XXX
-# XXX By default, assume that on NetBSD the native iconv implementation
-# XXX (if it exists) is good enough to replace GNU libiconv.
+# XXX By default, assume that on NetBSD and DragonFly the native iconv
+# XXX implementation (if it exists) is good enough to replace GNU libiconv.
 # XXX
-.      if (${OPSYS} == "NetBSD") && exists(/usr/include/iconv.h)
+.      if (${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly") && \
+          exists(/usr/include/iconv.h)
 H_ICONV=       /usr/include/iconv.h
 _BLTN_REPLACE.iconv=   yes
 .      endif



Home | Main Index | Thread Index | Old Index