diff options
author | wiz <wiz@pkgsrc.org> | 2004-07-04 09:55:19 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2004-07-04 09:55:19 +0000 |
commit | 60019e1e0882105c37ae75961ec850b66a13097d (patch) | |
tree | feec0a4d37c781a39ee15a434bd5596ba0bdf8a2 | |
parent | 33ba048386ede43ccf2b564ae5e4e907e7833804 (diff) | |
download | pkgsrc-60019e1e0882105c37ae75961ec850b66a13097d.tar.gz |
Unused.
-rw-r--r-- | converters/libiconv/buildlink2.mk | 105 | ||||
-rw-r--r-- | databases/db3/buildlink2.mk | 24 | ||||
-rw-r--r-- | devel/gettext-lib/buildlink2.mk | 186 | ||||
-rw-r--r-- | inputmethod/libtabe/buildlink2.mk | 21 |
4 files changed, 0 insertions, 336 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 diff --git a/databases/db3/buildlink2.mk b/databases/db3/buildlink2.mk deleted file mode 100644 index 4210097451b..00000000000 --- a/databases/db3/buildlink2.mk +++ /dev/null @@ -1,24 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.4 2003/10/20 15:28:23 agc Exp $ - -.if !defined(DB3_BUILDLINK2_MK) -DB3_BUILDLINK2_MK= # defined - -BUILDLINK_PACKAGES+= db3 -BUILDLINK_DEPENDS.db3?= db3>=2.9.2 -BUILDLINK_PKGSRCDIR.db3?= ../../databases/db3 - -EVAL_PREFIX+= BUILDLINK_PREFIX.db3=db3 -BUILDLINK_PREFIX.db3_DEFAULT= ${LOCALBASE} -BUILDLINK_FILES.db3= include/db3/db_cxx.h -BUILDLINK_FILES.db3+= include/db3/db.h -BUILDLINK_FILES.db3+= include/db3/db_185.h -BUILDLINK_FILES.db3+= lib/libdb3.* -BUILDLINK_FILES.db3+= lib/libdb3_cxx.* - -BUILDLINK_CPPFLAGS.db3= -I${BUILDLINK_PREFIX.db3}/include/db3 - -BUILDLINK_TARGETS+= db3-buildlink - -db3-buildlink: _BUILDLINK_USE - -.endif # DB3_BUILDLINK2_MK diff --git a/devel/gettext-lib/buildlink2.mk b/devel/gettext-lib/buildlink2.mk deleted file mode 100644 index 1df0973f1a3..00000000000 --- a/devel/gettext-lib/buildlink2.mk +++ /dev/null @@ -1,186 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.32 2004/04/01 18:33:20 jmmv Exp $ - -.if !defined(GETTEXT_BUILDLINK2_MK) -GETTEXT_BUILDLINK2_MK= # defined - -.include "../../mk/bsd.prefs.mk" - -BUILDLINK_PKGBASE.gettext?= gettext-lib -BUILDLINK_DEPENDS.gettext?= gettext-lib>=0.10.35nb1 -BUILDLINK_PKGSRCDIR.gettext?= ../../devel/gettext-lib - -.if exists(/usr/include/libintl.h) -# -# Consider the base system libintl to be gettext-lib-0.10.35nb1. -# -_GETTEXT_PKG= gettext-lib-0.10.35nb1 -_GETTEXT_DEPENDS= ${BUILDLINK_DEPENDS.gettext} -_BUILTIN_GETTEXT!= \ - if ${PKG_ADMIN} pmatch '${_GETTEXT_DEPENDS}' ${_GETTEXT_PKG}; then \ - ${ECHO} "YES"; \ - else \ - ${ECHO} "NO"; \ - fi -_BLNK_LIBINTL_LIST!= ${ECHO} /usr/lib/libintl.* -. if ${_BLNK_LIBINTL_LIST} != "/usr/lib/libintl.*" -_BLNK_LIBINTL_FOUND= YES -. else -_BLNK_LIBINTL_FOUND= NO -. endif -.else -_BUILTIN_GETTEXT= NO -_BLNK_LIBINTL_FOUND= NO -.endif -# -# Solaris has broken (for the purposes of pkgsrc) version of gettext. -# -_INCOMPAT_GETTEXT= SunOS-*-* -.for _pattern_ in ${_INCOMPAT_GETTEXT} ${INCOMPAT_GETTEXT} -. if !empty(MACHINE_PLATFORM:M${_pattern_}) -_BUILTIN_GETTEXT= NO -_BLNK_LIBINTL_FOUND= NO -. endif -.endfor - -.if ${_BUILTIN_GETTEXT} == "YES" -_NEED_GNU_GETTEXT= NO -.else -_NEED_GNU_GETTEXT= YES -.endif - -.if !empty(PREFER_NATIVE:M[yY][eE][sS]) && \ - ${_BUILTIN_GETTEXT} == "YES" -_NEED_GNU_GETTEXT= NO -.endif -.if !empty(PREFER_PKGSRC:M[yY][eE][sS]) -_NEED_GNU_GETTEXT= YES -.endif -.if !empty(PREFER_NATIVE:Mgettext) && \ - ${_BUILTIN_GETTEXT} == "YES" -_NEED_GNU_GETTEXT= NO -.endif -.if !empty(PREFER_PKGSRC:Mgettext) -_NEED_GNU_GETTEXT= YES -.endif - -.if defined(USE_GNU_GETTEXT) -_NEED_GNU_GETTEXT= YES -.endif - -.if ${_NEED_GNU_GETTEXT} == "YES" -BUILDLINK_PACKAGES+= gettext -EVAL_PREFIX+= BUILDLINK_PREFIX.gettext=gettext-lib -BUILDLINK_PREFIX.gettext_DEFAULT= ${LOCALBASE} -_GETTEXT_ICONV_DEPENDS= gettext-lib>=0.11.5nb1 -_INSTALLED_GETTEXT_PKG!= ${PKG_INFO} -e gettext-lib || ${ECHO} "NO" -. if ${_INSTALLED_GETTEXT_PKG} == "NO" -_GETTEXT_NEEDS_ICONV= YES -. else -_GETTEXT_NEEDS_ICONV!= \ - if ${PKG_ADMIN} pmatch '${_GETTEXT_ICONV_DEPENDS}' ${_INSTALLED_GETTEXT_PKG}; then \ - ${ECHO} "YES"; \ - else \ - ${ECHO} "NO"; \ - fi -. endif -. if ${_GETTEXT_NEEDS_ICONV} == "YES" -BUILDLINK_DEPENDS.gettext= ${_GETTEXT_ICONV_DEPENDS} -. include "../../converters/libiconv/buildlink2.mk" -. endif -.else -BUILDLINK_PREFIX.gettext= /usr -.endif - -BUILDLINK_FILES.gettext= include/libintl.h -BUILDLINK_FILES.gettext+= lib/libintl.* - -BUILDLINK_TARGETS+= gettext-buildlink -.if ${_BLNK_LIBINTL_FOUND} == "YES" -BUILDLINK_TARGETS+= gettext-libintl-la -.endif - -# Add -lintl to LIBS in CONFIGURE_ENV to work around broken gettext.m4: -# older gettext.m4 does not add -lintl where it should, and the resulting -# configure script fails to detect if libintl.a is the genuine GNU gettext -# or not. -# -_BLNK_INCINTL= # empty -_BLNK_LIBINTL= # empty -.if ${_NEED_GNU_GETTEXT} == "YES" -_BLNK_INCINTL+= -I${BUILDLINK_PREFIX.gettext}/include -_BLNK_LIBINTL+= -L${BUILDLINK_PREFIX.gettext}/lib -.if ${_USE_RPATH} != no -_BLNK_LIBINTL+= -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.gettext}/lib -.endif -_BLNK_LIBINTL+= -lintl -. if ${_GETTEXT_NEEDS_ICONV} == "YES" -_BLNK_LIBINTL+= ${BUILDLINK_LIBICONV_LDADD} -. endif -.else -. if ${_BLNK_LIBINTL_FOUND} == "YES" -_BLNK_LIBINTL+= -lintl -. endif -.endif -FIX_RPATH+= _BLNK_LIBINTL - -# The following section is written to avoid using a conditional based on -# ${GNU_CONFIGURE}. -# -_BLNK_LIBINTL.no= # empty -_BLNK_LIBINTL.yes= ${_BLNK_LIBINTL} - -_BLNK_LIBINTL_CONFIGURE_ENV.no= # empty -_BLNK_LIBINTL_CONFIGURE_ENV.yes= INTLLIBS="${_BLNK_LIBINTL}" -.if ${_NEED_GNU_GETTEXT} == "NO" -. if ${_BLNK_LIBINTL_FOUND} == "YES" -_BLNK_LIBINTL_CONFIGURE_ENV.yes+= gt_cv_func_gnugettext1_libintl="yes" -. endif -.endif - -_BLNK_LIBINTL_CONFIGURE_ARGS.no= # empty -_BLNK_LIBINTL_CONFIGURE_ARGS.yes= \ - --with-libintl-prefix=${BUILDLINK_PREFIX.gettext} - -_GNU_CONFIGURE= ${GNU_CONFIGURE:S/Y/y/:S/E/e/:S/S/s/} -LIBS+= ${_BLNK_LIBINTL.${_GNU_CONFIGURE}} -CONFIGURE_ENV+= ${_BLNK_LIBINTL_CONFIGURE_ENV.${_GNU_CONFIGURE}} -CONFIGURE_ARGS+= ${_BLNK_LIBINTL_CONFIGURE_ARGS.${_GNU_CONFIGURE}} - -.if ${_NEED_GNU_GETTEXT} == "NO" -. if ${_BLNK_LIBINTL_FOUND} == "YES" -_BLNK_INTL_LDFLAGS= -L${BUILDLINK_PREFIX.gettext}/lib -lintl -. else -_BLNK_INTL_LDFLAGS= # empty -. endif -LIBTOOL_ARCHIVE_UNTRANSFORM_SED+= \ - -e "s|${BUILDLINK_PREFIX.gettext}/lib/libintl.la|${_BLNK_INTL_LDFLAGS}|g" \ - -e "s|${LOCALBASE}/lib/libintl.la|${_BLNK_INTL_LDFLAGS}|g" -.endif - -gettext-buildlink: _BUILDLINK_USE - -gettext-libintl-la: - ${_PKG_SILENT}${_PKG_DEBUG} \ - lafile="${BUILDLINK_DIR}/lib/libintl.la"; \ - libpattern="${BUILDLINK_PREFIX.gettext}/lib/libintl.*"; \ - ${BUILDLINK_FAKE_LA} - -.if defined(USE_MSGFMT_PLURALS) && !empty(USE_MSGFMT_PLURALS:M[Yy][Ee][Ss]) -USE_PERL5?= build -CONFIGURE_ENV+= MSGFMT=${BUILDLINK_DIR}/bin/msgfmt - -SUBST_CLASSES+= fix-msgfmt -SUBST_STAGE.fix-msgfmt= post-buildlink -SUBST_MESSAGE.fix-msgfmt= "Fixing paths in msgfmt wrapper." -SUBST_FILES.fix-msgfmt= ${BUILDLINK_DIR}/bin/msgfmt -SUBST_SED.fix-msgfmt= -e 's|@PERL@|${PERL5}|g' -SUBST_SED.fix-msgfmt+= -e 's|@MSGFMT@|${BUILDLINK_PREFIX.gettext}/bin/msgfmt|g' - -BUILDLINK_TARGETS+= buildlink-msgfmt - -buildlink-msgfmt: - @${CP} ../../devel/gettext/files/msgfmt.pl ${BUILDLINK_DIR}/bin/msgfmt - @${CHMOD} +x ${BUILDLINK_DIR}/bin/msgfmt -.endif - -.endif # GETTEXT_BUILDLINK2_MK diff --git a/inputmethod/libtabe/buildlink2.mk b/inputmethod/libtabe/buildlink2.mk deleted file mode 100644 index 75532c90075..00000000000 --- a/inputmethod/libtabe/buildlink2.mk +++ /dev/null @@ -1,21 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:22:59 jlam Exp $ - -.if !defined(LIBTABE_BUILDLINK2_MK) -LIBTABE_BUILDLINK2_MK= # defined - -BUILDLINK_PACKAGES+= libtabe -BUILDLINK_DEPENDS.libtabe?= libtabe>=0.2.5 -BUILDLINK_PKGSRCDIR.libtabe?= ../../inputmethod/libtabe - -EVAL_PREFIX+= BUILDLINK_PREFIX.libtabe=libtabe -BUILDLINK_PREFIX.libtabe_DEFAULT= ${LOCALBASE} -BUILDLINK_FILES.libtabe= include/bims.h -BUILDLINK_FILES.libtabe+= include/tabe.h -BUILDLINK_FILES.libtabe+= lib/libbims.* -BUILDLINK_FILES.libtabe+= lib/libtabe.* - -BUILDLINK_TARGETS+= libtabe-buildlink - -libtabe-buildlink: _BUILDLINK_USE - -.endif # LIBTABE_BUILDLINK2_MK |