summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-09-20 19:33:52 +0000
committerjlam <jlam@pkgsrc.org>2002-09-20 19:33:52 +0000
commitd67c5e008ee44a1b4998e7ed6e0f7e392499cbee (patch)
treea4115ee2065bcc0bfabdf0a1b4c24b96b81e4c7b /x11
parent484758d85c418327ea1be4a6b2e75e47c26d1d37 (diff)
downloadpkgsrc-d67c5e008ee44a1b4998e7ed6e0f7e392499cbee.tar.gz
All packages that used these buildlink.mk files have been converted to
use buildlink2, so remove these files.
Diffstat (limited to 'x11')
-rw-r--r--x11/kde2/buildlink.mk114
-rw-r--r--x11/kdebase2/buildlink.mk37
-rw-r--r--x11/kdelibs2/buildlink.mk81
3 files changed, 0 insertions, 232 deletions
diff --git a/x11/kde2/buildlink.mk b/x11/kde2/buildlink.mk
deleted file mode 100644
index 0828a3319c7..00000000000
--- a/x11/kde2/buildlink.mk
+++ /dev/null
@@ -1,114 +0,0 @@
-# $NetBSD: buildlink.mk,v 1.4 2002/02/25 13:03:31 markd Exp $
-#
-# This Makefile fragment is included by packages that use the KDE2
-# configure-and-build process.
-#
-# To use this Makefile fragment, simply include this Makefile fragment in
-# the package Makefile.
-#
-# The buildlink strategy with KDE2 packages is:
-#
-# * pass UIC to the configure script, as most of the KDE2 packages need
-# the path to the QT2 uic to build.
-#
-# * pass USER_LDFLAGS to the configure script, containing the value of
-# LDFLAGS as set by bsd.pkg.mk; this should pass all of the necessary
-# library directory and rpath settings to the compiler/linker to find
-# the X11, Qt-2.x, and KDE-2.x libraries.
-#
-# * pass KDEDIR and a hand-crafted ac_cv_have_kde to the configure
-# script, where KDEDIR contains the installed location of KDE,
-# and ac_cv_have_kde contains the buildlinked location of KDE; this
-# makes the KDE configure script install other KDE software in
-# ${KDEDIR}, but build against the libraries in ${BUILDLINK_DIR}.
-#
-# * override kde_libraries at build-time; the configure script will set
-# it to point into the buildlink directory and will add the correct
-# linker flags to find the KDE2 libraries in the buildlink directory,
-# but we need to point it to the actual install location of the KDE
-# libraries so that the build may find the libtool archives.
-#
-# We pass the following values via options to the configure script:
-#
-# * datadir is where all of the KDE2 data files go
-# * qt-dir is the location of QT2 for build purposes
-# * extra-includes is where headers for dependencies may be found;
-# since we're using the buildlink infrastructure, this should contain
-# ${BUILDLINK_DIR} and ${BUILDLINK_X11_DIR}.
-#
-# We _don't_ pass the following values via options to the configure script:
-#
-# * extra-libs contains library directories that are added to both the
-# rpath via -R and to the linker flags via -L; we don't need this
-# since we need different directories for -R/-L and we can pass them
-# in directly via ${USER_LDFLAGS}
-#
-# We also disable the rpath setting by the configure script since it often
-# guesses wrong on odd setups, and since we already pass all of the required
-# flags through USER_LDFLAGS.
-
-.if !defined(KDE2_BUILDLINK_MK)
-KDE2_BUILDLINK_MK= # defined
-
-# All KDE2 packages satisfy the requirements for USE_X11BASE. This also
-# forces all KDE2 packages to have a common installation prefix.
-#
-USE_X11BASE= YES
-
-.include "../../mk/bsd.prefs.mk"
-
-.if !defined(USE_BUILDLINK_ONLY)
-#
-# Default values so that even if the package using this file is not strongly
-# buildlinkified, there are sensible values for finding the KDE2 and Qt2
-# headers and libraries.
-#
-KDEDIR?= ${X11PREFIX}
-QTDIR?= ${X11PREFIX}/qt2
-BUILDLINK_KDEDIR?= ${KDEDIR}
-BUILDLINK_QTDIR?= ${QTDIR}
-.endif
-
-CONFIGURE_ARGS+= --datadir="${KDEDIR}/share/kde"
-CONFIGURE_ARGS+= --with-qt-dir="${BUILDLINK_QTDIR}"
-CONFIGURE_ARGS+= --with-extra-includes="${_KDE2_EXTRA_INCLUDES}"
-CONFIGURE_ARGS+= --disable-rpath
-.if exists(${X11BASE}/lib/libXinerama.so)
-CONFIGURE_ARGS+= --with-xinerama
-.endif
-
-CONFIGURE_ENV+= UIC="${QTDIR}/bin/uic"
-CONFIGURE_ENV+= USER_LDFLAGS="${LDFLAGS}"
-CONFIGURE_ENV+= ac_cv_have_kde="${_KDE2_AC_CV_HAVE_KDE}"
-LDFLAGS+= -L${BUILDLINK_QTDIR}/lib
-
-MAKE_FLAGS+= kde_libraries="${KDEDIR}/lib"
-MAKE_ENV+= AM_MAKEFLAGS="${MAKE_FLAGS}"
-
-_KDE2_EXTRA_INCLUDES?= ${BUILDLINK_DIR}/include:${BUILDLINK_X11_DIR}/include
-_KDE2_AC_CV_HAVE_KDE?= have_kde=yes \
- ac_kde_includes=${BUILDLINK_KDEDIR}/include \
- ac_kde_libraries=${BUILDLINK_KDEDIR}/lib
-
-KDE_CONFIG_SITE?= ${KDEDIR}/share/kde/config.site \
- ${KDEDIR}/etc/config.site
-
-CONFIGURE_ENV+= KDEDIR="${KDEDIR}"
-CONFIGURE_ENV+= CONFIG_SITE="${KDE_CONFIG_SITE}"
-CONFIGURE_ENV+= kde_appsdir="${KDEDIR}/share/kde/applnk"
-#CONFIGURE_ENV+= kde_bindir="${KDEDIR}/bin"
-CONFIGURE_ENV+= kde_cgidir="${KDEDIR}/kde-cgi-bin"
-CONFIGURE_ENV+= kde_confdir="${KDEDIR}/share/kde/config"
-CONFIGURE_ENV+= kde_datadir="${KDEDIR}/share/kde/apps"
-CONFIGURE_ENV+= kde_htmldir="${KDEDIR}/share/doc/kde/HTML"
-CONFIGURE_ENV+= kde_icondir="${KDEDIR}/share/kde/icons"
-CONFIGURE_ENV+= kde_locale="${KDEDIR}/share/kde/locale"
-CONFIGURE_ENV+= kde_mimedir="${KDEDIR}/share/kde/mimelnk"
-#CONFIGURE_ENV+= kde_moduledir="${KDEDIR}/lib/kde2"
-CONFIGURE_ENV+= kde_servicesdir="${KDEDIR}/share/kde/services"
-CONFIGURE_ENV+= kde_servicetypesdir="${KDEDIR}/share/kde/servicetypes"
-CONFIGURE_ENV+= kde_sounddir="${KDEDIR}/share/kde/sounds"
-CONFIGURE_ENV+= kde_templatesdir="${KDEDIR}/share/kde/templates"
-CONFIGURE_ENV+= kde_toolbardir="${KDEDIR}/share/kde/toolbar"
-CONFIGURE_ENV+= kde_wallpaperdir="${KDEDIR}/share/kde/wallpapers"
-.endif # KDE2_BUILDLINK_MK
diff --git a/x11/kdebase2/buildlink.mk b/x11/kdebase2/buildlink.mk
deleted file mode 100644
index 6ac3a81aff9..00000000000
--- a/x11/kdebase2/buildlink.mk
+++ /dev/null
@@ -1,37 +0,0 @@
-# $NetBSD: buildlink.mk,v 1.8 2002/03/13 17:37:58 fredb Exp $
-#
-# This Makefile fragment is included by packages that use kdebase2.
-#
-# To use this Makefile fragment, simply:
-#
-# (1) Optionally define BUILDLINK_DEPENDS.kdebase2 to the dependency pattern
-# for the version of kdebase2 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(KDEBASE2_BUILDLINK_MK)
-KDEBASE2_BUILDLINK_MK= # defined
-
-.include "../../mk/bsd.buildlink.mk"
-
-BUILDLINK_DEPENDS.kdebase2?= kdebase>=2.2.2nb1
-DEPENDS+= ${BUILDLINK_DEPENDS.kdebase2}:../../x11/kdebase2
-
-.include "../../mk/bsd.prefs.mk"
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.kdebase2=kdebase
-BUILDLINK_PREFIX.kdebase2_DEFAULT= ${X11PREFIX}
-BUILDLINK_FILES.kdebase2!= ${GREP} "^\(include\|lib\)" ${.CURDIR}/../../x11/kdebase2/PLIST
-
-.include "../../x11/kdelibs2/buildlink.mk"
-
-BUILDLINK_TARGETS.kdebase2= kdebase2-buildlink
-BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.kdebase2}
-
-pre-configure: ${BUILDLINK_TARGETS.kdebase2}
-kdebase2-buildlink: _BUILDLINK_USE
-
-.endif # KDEBASE2_BUILDLINK_MK
diff --git a/x11/kdelibs2/buildlink.mk b/x11/kdelibs2/buildlink.mk
deleted file mode 100644
index 1af48d6d46e..00000000000
--- a/x11/kdelibs2/buildlink.mk
+++ /dev/null
@@ -1,81 +0,0 @@
-# $NetBSD: buildlink.mk,v 1.23 2002/09/10 16:06:54 wiz Exp $
-#
-# This Makefile fragment is included by packages that use kdelibs2.
-#
-# To use this Makefile fragment, simply:
-#
-# (1) Optionally define BUILDLINK_DEPENDS.kdelibs2 to the dependency pattern
-# for the version of kdelibs2 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(KDELIBS2_BUILDLINK_MK)
-KDELIBS2_BUILDLINK_MK= # defined
-
-.include "../../mk/bsd.buildlink.mk"
-
-BUILDLINK_DEPENDS.kdelibs2?= kdelibs>=2.2.2nb3
-DEPENDS+= ${BUILDLINK_DEPENDS.kdelibs2}:../../x11/kdelibs2
-
-.include "../../mk/bsd.prefs.mk"
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.kdelibs2=kdelibs
-BUILDLINK_PREFIX.kdelibs2_DEFAULT= ${X11PREFIX}
-BUILDLINK_FILES.kdelibs2!= ${GREP} "^\(include\|lib\)" ${.CURDIR}/../../x11/kdelibs2/PLIST
-BUILDLINK_FILES.kdelibs2+= bin/dcopserver
-
-REPLACE_BUILDLINK_SED+= \
- -e "s|-I${BUILDLINK_DIR}/\(include/artsc\)|-I${BUILDLINK_PREFIX.kdelibs2}/\1|g"
-BUILDLINK_CONFIG_WRAPPER_SED+= \
- -e "s|-I${BUILDLINK_PREFIX.kdelibs2}/\(include/artsc\)|-I${BUILDLINK_DIR}/\1|g"
-
-BUILDLINK_KDEDIR= ${BUILDLINK_DIR}
-KDEDIR= ${BUILDLINK_PREFIX.kdelibs2}
-
-BUILDLINK_DEPENDS.audiofile= libaudiofile>=0.1.9
-BUILDLINK_DEPENDS.qt2-libs= qt2-libs>=2.3.1nb2
-USE_OPENSSL_VERSION= ${OPENSSL_VERSION_096}
-
-.include "../../audio/libaudiofile/buildlink.mk"
-.include "../../devel/pcre/buildlink.mk"
-.include "../../security/openssl/buildlink.mk"
-.include "../../x11/qt2-libs/buildlink.mk"
-.include "../../mk/ossaudio.buildlink.mk"
-
-.if defined(USE_CUPS) && (${USE_CUPS} == "YES")
-.include "../../print/cups/buildlink.mk"
-.endif
-
-BUILDLINK_TARGETS.kdelibs2= kdelibs2-buildlink
-BUILDLINK_TARGETS.kdelibs2+= kdelibs2-buildlink-config-wrapper
-BUILDLINK_TARGETS.kdelibs2+= kdelibs2-artsc-buildlink-config-wrapper
-BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.kdelibs2}
-
-BUILDLINK_CONFIG.kdelibs2= ${BUILDLINK_PREFIX.kdelibs2}/bin/kde-config
-BUILDLINK_CONFIG_WRAPPER.kdelibs2= ${BUILDLINK_DIR}/bin/kde-config
-REPLACE_BUILDLINK_SED+= \
- -e "s|${BUILDLINK_CONFIG_WRAPPER.kdelibs2}|${BUILDLINK_CONFIG.kdelibs2}|g"
-
-BUILDLINK_CONFIG.kdelibs2-artsc= ${BUILDLINK_PREFIX.kdelibs2}/bin/artsc-config
-BUILDLINK_CONFIG_WRAPPER.kdelibs2-artsc= ${BUILDLINK_DIR}/bin/artsc-config
-REPLACE_BUILDLINK_SED+= \
- -e "s|${BUILDLINK_CONFIG_WRAPPER.kdelibs2-artsc}|${BUILDLINK_CONFIG.kdelibs2-artsc}|g"
-
-.if defined(USE_CONFIG_WRAPPER)
-ARTSCCONFIG?= ${BUILDLINK_CONFIG_WRAPPER.kdelibs2-artsc}
-KDECONFIG?= ${BUILDLINK_CONFIG_WRAPPER.kdelibs2}
-CONFIGURE_ENV+= ARTSCCONFIG="${ARTSCCONFIG}"
-CONFIGURE_ENV+= KDECONFIG="${KDECONFIG}"
-MAKE_ENV+= ARTSCCONFIG="${ARTSCCONFIG}"
-MAKE_ENV+= KDECONFIG="${KDECONFIG}"
-.endif
-
-pre-configure: ${BUILDLINK_TARGETS.kdelibs2}
-kdelibs2-buildlink: _BUILDLINK_USE
-kdelibs2-buildlink-config-wrapper: _BUILDLINK_CONFIG_WRAPPER_USE
-kdelibs2-artsc-buildlink-config-wrapper: _BUILDLINK_CONFIG_WRAPPER_USE
-
-.endif # KDELIBS2_BUILDLINK_MK