summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archivers/bzip2/buildlink2.mk83
-rw-r--r--graphics/jasper/buildlink2.mk19
-rw-r--r--graphics/libexif/buildlink2.mk19
-rw-r--r--graphics/libwmf/buildlink2.mk30
-rw-r--r--graphics/xpm/buildlink2.mk46
-rw-r--r--textproc/libxml2/buildlink2.mk22
6 files changed, 0 insertions, 219 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
diff --git a/graphics/jasper/buildlink2.mk b/graphics/jasper/buildlink2.mk
deleted file mode 100644
index 955541502cf..00000000000
--- a/graphics/jasper/buildlink2.mk
+++ /dev/null
@@ -1,19 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.4 2002/11/12 19:39:15 dillo Exp $
-
-.if !defined(JASPER_BUILDLINK2_MK)
-JASPER_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= jasper
-BUILDLINK_DEPENDS.jasper?= jasper>=1.600.0
-BUILDLINK_PKGSRCDIR.jasper?= ../../graphics/jasper
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.jasper=jasper
-BUILDLINK_PREFIX.jasper_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.jasper= include/jasper/*
-BUILDLINK_FILES.jasper+= lib/libjasper.*
-
-BUILDLINK_TARGETS+= jasper-buildlink
-
-jasper-buildlink: _BUILDLINK_USE
-
-.endif # JASPER_BUILDLINK2_MK
diff --git a/graphics/libexif/buildlink2.mk b/graphics/libexif/buildlink2.mk
deleted file mode 100644
index 25d34325469..00000000000
--- a/graphics/libexif/buildlink2.mk
+++ /dev/null
@@ -1,19 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.9 2003/10/14 14:05:00 salo Exp $
-
-.if !defined(LIBEXIF_BUILDLINK2_MK)
-LIBEXIF_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= libexif
-BUILDLINK_DEPENDS.libexif?= libexif>=0.5.12
-BUILDLINK_PKGSRCDIR.libexif?= ../../graphics/libexif
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.libexif=libexif
-BUILDLINK_PREFIX.libexif_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.libexif= include/libexif/*.h
-BUILDLINK_FILES.libexif+= lib/libexif.*
-
-BUILDLINK_TARGETS+= libexif-buildlink
-
-libexif-buildlink: _BUILDLINK_USE
-
-.endif # LIBEXIF_BUILDLINK2_MK
diff --git a/graphics/libwmf/buildlink2.mk b/graphics/libwmf/buildlink2.mk
deleted file mode 100644
index 34e5dd5c04f..00000000000
--- a/graphics/libwmf/buildlink2.mk
+++ /dev/null
@@ -1,30 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.9 2003/09/19 17:24:31 adam Exp $
-
-.if !defined(LIBWMF_BUILDLINK2_MK)
-LIBWMF_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= libwmf
-BUILDLINK_DEPENDS.libwmf?= libwmf>=0.2.8nb2
-BUILDLINK_PKGSRCDIR.libwmf?= ../../graphics/libwmf
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.libwmf=libwmf
-BUILDLINK_PREFIX.libwmf_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.libwmf= include/libwmf/*.h
-BUILDLINK_FILES.libwmf+= include/libwmf/gd/*.h
-BUILDLINK_FILES.libwmf+= lib/libwmf-0.2.so*
-BUILDLINK_FILES.libwmf+= lib/libwmf.*
-BUILDLINK_FILES.libwmf+= lib/libwmflite-0.2.so*
-BUILDLINK_FILES.libwmf+= lib/libwmflite.*
-
-.include "../../devel/zlib/buildlink2.mk"
-.include "../../graphics/freetype2/buildlink2.mk"
-.include "../../graphics/jpeg/buildlink2.mk"
-.include "../../graphics/png/buildlink2.mk"
-.include "../../graphics/xpm/buildlink2.mk"
-.include "../../textproc/libxml2/buildlink2.mk"
-
-BUILDLINK_TARGETS+= libwmf-buildlink
-
-libwmf-buildlink: _BUILDLINK_USE
-
-.endif # LIBWMF_BUILDLINK2_MK
diff --git a/graphics/xpm/buildlink2.mk b/graphics/xpm/buildlink2.mk
deleted file mode 100644
index 1a706ff1370..00000000000
--- a/graphics/xpm/buildlink2.mk
+++ /dev/null
@@ -1,46 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.6 2003/03/13 17:36:28 atatat Exp $
-
-.if !defined(XPM_BUILDLINK2_MK)
-XPM_BUILDLINK2_MK= # defined
-
-.include "../../mk/bsd.prefs.mk"
-
-BUILDLINK_DEPENDS.xpm?= xpm>=3.4k
-BUILDLINK_PKGSRCDIR.xpm?= ../../graphics/xpm
-
-# Check if we got Xpm distributed with XFree86 4.x or Solaris 9 or if we need
-# to depend on the Xpm package.
-#
-_REQUIRE_BUILTIN_XPM?= NO
-.if (${OPSYS} != SunOS) || (${X11BASE} != "/usr/openwin")
-. if exists(${X11BASE}/include/X11/xpm.h) && \
- exists(${X11BASE}/lib/X11/config/X11.tmpl)
-_IS_BUILTIN_XPM!= ${EGREP} -c NormalLibXpm ${X11BASE}/lib/X11/config/X11.tmpl || ${TRUE}
-. else
-_IS_BUILTIN_XPM= 0
-. endif
-.else
-_IS_BUILTIN_XPM!= (/usr/sbin/pkgchk -l SUNWxwinc | ${EGREP} -c xpm.h) || ${TRUE}
-.endif
-.if (${_IS_BUILTIN_XPM} == "0") && (${_REQUIRE_BUILTIN_XPM} == "NO")
-_NEED_XPM= YES
-.else
-_NEED_XPM= NO
-.endif
-
-.if ${_NEED_XPM} == "YES"
-BUILDLINK_PACKAGES+= xpm
-EVAL_PREFIX+= BUILDLINK_PREFIX.xpm=xpm
-BUILDLINK_PREFIX.xpm_DEFAULT= ${X11PREFIX}
-.else
-BUILDLINK_PREFIX.xpm= ${X11BASE}
-.endif
-
-BUILDLINK_FILES.xpm+= include/X11/xpm.h
-BUILDLINK_FILES.xpm+= lib/libXpm.*
-
-BUILDLINK_TARGETS+= xpm-buildlink
-
-xpm-buildlink: _BUILDLINK_USE
-
-.endif # XPM_BUILDLINK2_MK
diff --git a/textproc/libxml2/buildlink2.mk b/textproc/libxml2/buildlink2.mk
deleted file mode 100644
index 472b4bc88ff..00000000000
--- a/textproc/libxml2/buildlink2.mk
+++ /dev/null
@@ -1,22 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.10 2003/12/04 19:33:38 xtraeme Exp $
-
-.if !defined(LIBXML2_BUILDLINK2_MK)
-LIBXML2_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= libxml2
-BUILDLINK_DEPENDS.libxml2?= libxml2>=2.6.2
-BUILDLINK_PKGSRCDIR.libxml2?= ../../textproc/libxml2
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.libxml2=libxml2
-BUILDLINK_PREFIX.libxml2_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.libxml2= include/libxml2/libxml/*
-BUILDLINK_FILES.libxml2+= lib/libxml2.*
-
-.include "../../devel/zlib/buildlink2.mk"
-.include "../../converters/libiconv/buildlink2.mk"
-
-BUILDLINK_TARGETS+= libxml2-buildlink
-
-libxml2-buildlink: _BUILDLINK_USE
-
-.endif # LIBXML2_BUILDLINK2_MK