summaryrefslogtreecommitdiff
path: root/converters/libiconv
diff options
context:
space:
mode:
authorwiz <wiz>2004-07-04 09:55:19 +0000
committerwiz <wiz>2004-07-04 09:55:19 +0000
commita8a8ff1f75757fc5aa1605f52d9613d47406744e (patch)
treefeec0a4d37c781a39ee15a434bd5596ba0bdf8a2 /converters/libiconv
parentd275d998c1ec1f364ab91fa476a9ae1693240576 (diff)
downloadpkgsrc-a8a8ff1f75757fc5aa1605f52d9613d47406744e.tar.gz
Unused.
Diffstat (limited to 'converters/libiconv')
-rw-r--r--converters/libiconv/buildlink2.mk105
1 files changed, 0 insertions, 105 deletions
diff --git a/converters/libiconv/buildlink2.mk b/converters/libiconv/buildlink2.mk
deleted file mode 100644
index c3afe867e73..00000000000
--- a/converters/libiconv/buildlink2.mk
+++ /dev/null
@@ -1,105 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.19 2004/03/29 05:05:33 jlam Exp $
-
-.if !defined(ICONV_BUILDLINK2_MK)
-ICONV_BUILDLINK2_MK= # defined
-
-.include "../../mk/bsd.prefs.mk"
-
-BUILDLINK_PKGBASE.iconv?= libiconv
-BUILDLINK_DEPENDS.iconv?= libiconv>=1.9.1
-BUILDLINK_PKGSRCDIR.iconv?= ../../converters/libiconv
-
-.if exists(/usr/include/iconv.h)
-_BUILTIN_ICONV= YES
-_BLNK_LIBICONV_LIST!= ${ECHO} /usr/lib/libiconv.*
-. if ${_BLNK_LIBICONV_LIST} != "/usr/lib/libiconv.*"
-_BLNK_LIBICONV_FOUND= YES
-. else
-_BLNK_LIBICONV_FOUND= NO
-. endif
-.else
-_BUILTIN_ICONV= NO
-_BLNK_LIBICONV_FOUND= NO
-.endif
-_INCOMPAT_ICONV?= # should be set from defs.${OPSYS}.mk
-.for _pattern_ in ${_INCOMPAT_ICONV} ${INCOMPAT_ICONV}
-. if !empty(MACHINE_PLATFORM:M${_pattern_})
-_BUILTIN_ICONV= NO
-_BLNK_LIBICONV_FOUND= NO
-. endif
-.endfor
-
-.if ${_BUILTIN_ICONV} == "YES"
-_NEED_ICONV= NO
-.else
-_NEED_ICONV= YES
-.endif
-
-.if !empty(PREFER_NATIVE:M[yY][eE][sS]) && \
- ${_BUILTIN_ICONV} == "YES"
-_NEED_ICONV= NO
-.endif
-.if !empty(PREFER_PKGSRC:M[yY][eE][sS])
-_NEED_ICONV= YES
-.endif
-.if !empty(PREFER_NATIVE:Miconv) && \
- ${_BUILTIN_ICONV} == "YES"
-_NEED_ICONV= NO
-.endif
-.if !empty(PREFER_PKGSRC:Miconv)
-_NEED_ICONV= YES
-.endif
-.if !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \
- !empty(PREFER_PKGSRC:Miconv)
-_NEED_ICONV= YES
-.endif
-
-.if defined(USE_GNU_ICONV)
-_NEED_ICONV= YES
-.endif
-
-.if ${_NEED_ICONV} == "YES"
-# let other packages know that we're using the pkgsrc
-# GNU libiconv
-ICONV_TYPE= gnu
-BUILDLINK_PACKAGES+= iconv
-EVAL_PREFIX+= BUILDLINK_PREFIX.iconv=libiconv
-BUILDLINK_PREFIX.iconv_DEFAULT= ${LOCALBASE}
-_BLNK_ICONV_LDFLAGS= -L${BUILDLINK_PREFIX.iconv}/lib -liconv
-.else
-ICONV_TYPE= native
-BUILDLINK_PREFIX.iconv= /usr
-. if ${_BLNK_LIBICONV_FOUND} == "YES"
-_BLNK_ICONV_LDFLAGS= -liconv
-. else
-_BLNK_ICONV_LDFLAGS= # empty
-BUILDLINK_TRANSFORM+= S:-liconv:
-. endif
-.endif
-.if ${_USE_RPATH} != no
-BUILDLINK_LIBICONV_LDADD= -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.iconv}/lib
-.endif
-BUILDLINK_LIBICONV_LDADD+= ${_BLNK_ICONV_LDFLAGS}
-LDFLAGS+= ${BUILDLINK_LIBICONV_LDADD}
-
-LIBTOOL_ARCHIVE_UNTRANSFORM_SED+= \
- -e "s|${BUILDLINK_PREFIX.iconv}/lib/libiconv.la|${_BLNK_ICONV_LDFLAGS}|g" \
- -e "s|${LOCALBASE}/lib/libiconv.la|${_BLNK_ICONV_LDFLAGS}|g" \
-
-BUILDLINK_FILES.iconv= include/iconv.h
-BUILDLINK_FILES.iconv+= include/libcharset.h
-BUILDLINK_FILES.iconv+= lib/libcharset.*
-BUILDLINK_FILES.iconv+= lib/libiconv.*
-
-BUILDLINK_TARGETS+= iconv-buildlink
-BUILDLINK_TARGETS+= iconv-libiconv-la
-
-iconv-buildlink: _BUILDLINK_USE
-
-iconv-libiconv-la:
- ${_PKG_SILENT}${_PKG_DEBUG} \
- lafile="${BUILDLINK_DIR}/lib/libiconv.la"; \
- libpattern="${BUILDLINK_PREFIX.iconv}/lib/libiconv.*"; \
- ${BUILDLINK_FAKE_LA}
-
-.endif # ICONV_BUILDLINK2_MK