summaryrefslogtreecommitdiff
path: root/devel/gettext-lib
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-11-14 23:12:39 +0000
committerjlam <jlam@pkgsrc.org>2002-11-14 23:12:39 +0000
commit2d05f52f17212b8ee39087b9c6e4885c8cf5254c (patch)
tree2135065206c87a8c0a0a2749bb3dce8bedbce141 /devel/gettext-lib
parent916ede5d1c6cf4d4b06291ed5f39076f448cd9c2 (diff)
downloadpkgsrc-2d05f52f17212b8ee39087b9c6e4885c8cf5254c.tar.gz
This file appears to be unused now.
Diffstat (limited to 'devel/gettext-lib')
-rw-r--r--devel/gettext-lib/buildlink.mk79
1 files changed, 0 insertions, 79 deletions
diff --git a/devel/gettext-lib/buildlink.mk b/devel/gettext-lib/buildlink.mk
deleted file mode 100644
index 3e7d85f3c1b..00000000000
--- a/devel/gettext-lib/buildlink.mk
+++ /dev/null
@@ -1,79 +0,0 @@
-# $NetBSD: buildlink.mk,v 1.16 2002/10/24 17:04:15 wiz Exp $
-#
-# This Makefile fragment is included by packages that use gettext.
-#
-# To use this Makefile fragment, simply:
-#
-# (1) Optionally define BUILDLINK_DEPENDS.gettext to the dependency pattern
-# for the version of gettext desired.
-# (2) Include this Makefile fragment in the package Makefile,
-# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
-# search path, and
-# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
-# path.
-
-.if !defined(GETTEXT_BUILDLINK_MK)
-GETTEXT_BUILDLINK_MK= # defined
-
-.include "../../mk/bsd.buildlink.mk"
-
-BUILDLINK_DEPENDS.gettext?= gettext-lib>=0.10.35nb1
-
-.if defined(USE_GNU_GETTEXT)
-_NEED_GNU_GETTEXT= YES
-.else
-. if exists(/usr/include/libintl.h)
-_NEED_GNU_GETTEXT= NO
-. else
-_NEED_GNU_GETTEXT= YES
-. endif
-#
-# Solaris has broken (for the purposes of pkgsrc) version of zlib and
-# gettext.
-#
-_INCOMPAT_GETTEXT= SunOS-*-*
-INCOMPAT_GETTEXT?= # empty
-. for _pattern_ in ${_INCOMPAT_GETTEXT} ${INCOMPAT_GETTEXT}
-. if !empty(MACHINE_PLATFORM:M${_pattern_})
-_NEED_GNU_GETTEXT= YES
-. endif
-. endfor
-.endif
-
-.if ${_NEED_GNU_GETTEXT} == "YES"
-DEPENDS+= ${BUILDLINK_DEPENDS.gettext}:../../devel/gettext-lib
-EVAL_PREFIX+= BUILDLINK_PREFIX.gettext=gettext-lib
-BUILDLINK_PREFIX.gettext_DEFAULT= ${LOCALBASE}
-.else
-BUILDLINK_PREFIX.gettext= /usr
-.endif
-
-BUILDLINK_FILES.gettext= include/libintl.h
-BUILDLINK_FILES.gettext+= lib/libintl.*
-
-BUILDLINK_TARGETS.gettext= gettext-buildlink
-BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.gettext}
-
-# Add -lintl to LIBS in CONFIGURE_ENV to work around broken gettext.m4:
-# 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_INTLLIBS= # empty
-.if ${_NEED_GNU_GETTEXT} == "YES"
-_BLNK_INTLLIBS+= -L${BUILDLINK_DIR}/lib
-. if ${_USE_RPATH} == "yes"
-_BLNK_INTLLIBS+= -Wl,-R${BUILDLINK_PREFIX.gettext}/lib
-. endif
-.endif
-_BLNK_INTLLIBS+= -lintl
-.if defined(GNU_CONFIGURE)
-INTLLIBS= ${_BLNK_INTLLIBS}
-LIBS+= ${INTLLIBS}
-CONFIGURE_ENV+= INTLLIBS="${INTLLIBS}"
-.endif
-
-pre-configure: ${BUILDLINK_TARGETS.gettext}
-gettext-buildlink: _BUILDLINK_USE
-
-.endif # GETTEXT_BUILDLINK_MK