summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-05-22 10:04:21 +0000
committerwiz <wiz@pkgsrc.org>2004-05-22 10:04:21 +0000
commite688e54ffc2cfbd26d0784d888a9a8ae31635c0b (patch)
tree6731418c7def1eb3029d6fa9c0afba0ed1d992c1 /archivers
parent0364b9f40e35e3d497835dc2abf1cf2b31d31b17 (diff)
downloadpkgsrc-e688e54ffc2cfbd26d0784d888a9a8ae31635c0b.tar.gz
Unused.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/bzip2/buildlink2.mk83
1 files changed, 0 insertions, 83 deletions
diff --git a/archivers/bzip2/buildlink2.mk b/archivers/bzip2/buildlink2.mk
deleted file mode 100644
index 4a81d2dd85e..00000000000
--- a/archivers/bzip2/buildlink2.mk
+++ /dev/null
@@ -1,83 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.11 2004/02/12 02:35:06 jlam Exp $
-
-.if !defined(BZIP2_BUILDLINK2_MK)
-BZIP2_BUILDLINK2_MK= # defined
-
-.include "../../mk/bsd.prefs.mk"
-
-BUILDLINK_DEPENDS.bzip2?= bzip2>=1.0.1
-BUILDLINK_PKGSRCDIR.bzip2?= ../../archivers/bzip2
-
-.if exists(/usr/include/bzlib.h)
-#
-# Recent versions of the libbz2 API prefix all functions with "BZ2_".
-#
-_BUILTIN_BZIP2!= ${EGREP} -c "BZ2_" /usr/include/bzlib.h || ${TRUE}
-.else
-_BUILTIN_BZIP2= 0
-.endif
-#
-# Solaris 9 has bzip2 1.0.1, build it on older versions.
-# Darwin only has static libbz2.a, which can't be buildlinked
-#
-_INCOMPAT_BZIP2= SunOS-5.[678]-* Darwin-*
-.for _pattern_ in ${_INCOMPAT_BZIP2} ${INCOMPAT_BZIP2}
-. if !empty(MACHINE_PLATFORM:M${_pattern_})
-_BUILTIN_BZIP2= 0
-. endif
-.endfor
-
-.if ${_BUILTIN_BZIP2} == "0"
-_NEED_BZIP2= YES
-.else
-_NEED_BZIP2= NO
-.endif
-
-.if !empty(PREFER_NATIVE:M[yY][eE][sS]) && \
- ${_BUILTIN_BZIP2} != 0
-_NEED_BZIP= NO
-.endif
-.if !empty(PREFER_PKGSRC:M[yY][eE][sS])
-_NEED_BZIP= YES
-.endif
-.if !empty(PREFER_NATIVE:Mbzip2) && \
- ${_BUILTIN_BZIP2} != 0
-_NEED_BZIP= NO
-.endif
-.if !empty(PREFER_PKGSRC:Mbzip2)
-_NEED_BZIP= YES
-.endif
-
-.if defined(USE_BZIP2)
-_NEED_BZIP2= YES
-.endif
-
-.if ${_NEED_BZIP2} == "YES"
-BUILDLINK_PACKAGES+= bzip2
-EVAL_PREFIX+= BUILDLINK_PREFIX.bzip2=bzip2
-BUILDLINK_PREFIX.bzip2_DEFAULT= ${LOCALBASE}
-_BLNK_BZ2_LDFLAGS= -L${BUILDLINK_PREFIX.bzip2}/lib -lbz2
-.else
-BUILDLINK_PREFIX.bzip2= /usr
-_BLNK_BZ2_LDFLAGS= -lbz2
-.endif
-
-LIBTOOL_ARCHIVE_UNTRANSFORM_SED+= \
- -e "s|${BUILDLINK_PREFIX.bzip2}/lib/libbz2.la|${_BLNK_BZ2_LDFLAGS}|g" \
- -e "s|${LOCALBASE}/lib/libbz2.la|${_BLNK_BZ2_LDFLAGS}|g"
-
-BUILDLINK_FILES.bzip2= include/bzlib.h
-BUILDLINK_FILES.bzip2+= lib/libbz2.*
-
-BUILDLINK_TARGETS+= bzip2-buildlink
-BUILDLINK_TARGETS+= bzip2-libbz2-la
-
-bzip2-buildlink: _BUILDLINK_USE
-
-bzip2-libbz2-la:
- ${_PKG_SILENT}${_PKG_DEBUG} \
- lafile="${BUILDLINK_DIR}/lib/libbz2.la"; \
- libpattern="${BUILDLINK_PREFIX.bzip2}/lib/libbz2.*"; \
- ${BUILDLINK_FAKE_LA}
-
-.endif # BZIP2_BUILDLINK2_MK