diff options
-rw-r--r-- | x11/kde2/buildlink2.mk | 84 | ||||
-rw-r--r-- | x11/kdebase2/buildlink2.mk | 30 | ||||
-rw-r--r-- | x11/kdelibs2/buildlink2.mk | 46 | ||||
-rw-r--r-- | x11/qt2-libs/buildlink2.mk | 38 |
4 files changed, 0 insertions, 198 deletions
diff --git a/x11/kde2/buildlink2.mk b/x11/kde2/buildlink2.mk deleted file mode 100644 index 42db746ae2b..00000000000 --- a/x11/kde2/buildlink2.mk +++ /dev/null @@ -1,84 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:23:33 jlam 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. -# -# 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 -# -# 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 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_BUILDLINK2_MK) -KDE2_BUILDLINK2_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" - -KDEDIR?= ${X11PREFIX} -QTDIR?= ${X11PREFIX}/qt2 - -CONFIGURE_ARGS+= --datadir="${KDEDIR}/share/kde" -CONFIGURE_ARGS+= --with-qt-dir="${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}" -LDFLAGS+= -L${QTDIR}/lib - -_KDE2_EXTRA_INCLUDES?= ${LOCALBASE}/include:${X11BASE}/include - -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_BUILDLINK2_MK diff --git a/x11/kdebase2/buildlink2.mk b/x11/kdebase2/buildlink2.mk deleted file mode 100644 index 23898b7f3b3..00000000000 --- a/x11/kdebase2/buildlink2.mk +++ /dev/null @@ -1,30 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.11 2004/03/26 02:28:01 wiz Exp $ - -.if !defined(KDEBASE2_BUILDLINK2_MK) -KDEBASE2_BUILDLINK2_MK= # defined - -.include "../../mk/bsd.prefs.mk" - -BUILDLINK_PACKAGES+= kdebase2 -BUILDLINK_PKGBASE.kdebase2?= kdebase -BUILDLINK_DEPENDS.kdebase2?= kdebase>=2.2.2nb4 -BUILDLINK_RECOMMENDED.kdebase2?= kdebase>=2.2.2nb6 -BUILDLINK_PKGSRCDIR.kdebase2?= ../../x11/kdebase2 - -EVAL_PREFIX+= BUILDLINK_PREFIX.kdebase2=kdebase -BUILDLINK_PREFIX.kdebase2_DEFAULT= ${X11PREFIX} -.if ${OPSYS} == "SunOS" -BUILDLINK_FILES_CMD.kdebase2= \ - ${BUILDLINK_PLIST_CMD.kdebase2} | ${EGREP} '^(include|lib)' -.else -BUILDLINK_FILES_CMD.kdebase2= \ - ${BUILDLINK_PLIST_CMD.kdebase2} | ${GREP} '^\(include\|lib\)' -.endif - -.include "../../x11/kdelibs2/buildlink2.mk" - -BUILDLINK_TARGETS+= kdebase2-buildlink - -kdebase2-buildlink: _BUILDLINK_USE - -.endif # KDEBASE2_BUILDLINK2_MK diff --git a/x11/kdelibs2/buildlink2.mk b/x11/kdelibs2/buildlink2.mk deleted file mode 100644 index 61dce23bc84..00000000000 --- a/x11/kdelibs2/buildlink2.mk +++ /dev/null @@ -1,46 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.19 2004/03/26 02:28:01 wiz Exp $ - -.if !defined(KDELIBS2_BUILDLINK2_MK) -KDELIBS2_BUILDLINK2_MK= # defined - -.include "../../mk/bsd.prefs.mk" - -BUILDLINK_PACKAGES+= kdelibs2 -BUILDLINK_PKGBASE.kdelibs2?= kdelibs -.if !defined(BUILDLINK_DEPENDS.kdelibs2) -BUILDLINK_DEPENDS.kdelibs2+= kdelibs>=2.2.2nb9 -BUILDLINK_DEPENDS.kdelibs2+= kdelibs<3.0 # qt2-designer-kde wants KDE_2_ -.endif -BUILDLINK_RECOMMENDED.kdelibs2?= kdelibs>=2.2.2nb11 -BUILDLINK_PKGSRCDIR.kdelibs2?= ../../x11/kdelibs2 - -EVAL_PREFIX+= BUILDLINK_PREFIX.kdelibs2=kdelibs -BUILDLINK_PREFIX.kdelibs2_DEFAULT= ${X11PREFIX} -.if ${OPSYS} == "SunOS" -BUILDLINK_FILES_CMD.kdelibs2= \ - ${BUILDLINK_PLIST_CMD.kdelibs2} | ${EGREP} '^(include|lib)' -.else -BUILDLINK_FILES_CMD.kdelibs2= \ - ${BUILDLINK_PLIST_CMD.kdelibs2} | ${GREP} '^\(include\|lib\)' -.endif - -KDEDIR= ${BUILDLINK_PREFIX.kdelibs2} - -BUILDLINK_DEPENDS.audiofile= libaudiofile>=0.2.3 - -.include "../../audio/libaudiofile/buildlink2.mk" -.include "../../devel/pcre/buildlink2.mk" -.include "../../security/openssl/buildlink2.mk" -.include "../../x11/qt2-libs/buildlink2.mk" -.include "../../textproc/libxslt/buildlink2.mk" -.include "../../mk/ossaudio.buildlink2.mk" - -.if defined(USE_CUPS) && (${USE_CUPS} == "YES") -. include "../../print/cups/buildlink2.mk" -.endif - -BUILDLINK_TARGETS+= kdelibs2-buildlink - -kdelibs2-buildlink: _BUILDLINK_USE - -.endif # KDELIBS2_BUILDLINK2_MK diff --git a/x11/qt2-libs/buildlink2.mk b/x11/qt2-libs/buildlink2.mk deleted file mode 100644 index 04a6ddb0df8..00000000000 --- a/x11/qt2-libs/buildlink2.mk +++ /dev/null @@ -1,38 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.7 2004/04/11 20:55:43 snj Exp $ - -.if !defined(QT2_LIBS_BUILDLINK2_MK) -QT2_LIBS_BUILDLINK2_MK= # defined - -BUILDLINK_PACKAGES+= qt2-libs -BUILDLINK_DEPENDS.qt2-libs?= qt2-libs>=2.3.1nb2 -BUILDLINK_PKGSRCDIR.qt2-libs?= ../../x11/qt2-libs - -EVAL_PREFIX+= BUILDLINK_PREFIX.qt2-libs=qt2-libs -BUILDLINK_PREFIX.qt2-libs_DEFAULT= ${X11PREFIX} -BUILDLINK_FILES.qt2-libs+= qt2/include/*.h -BUILDLINK_FILES.qt2-libs+= qt2/lib/libqt.* - -QTDIR= ${BUILDLINK_PREFIX.qt2-libs}/qt2 - -BUILDLINK_CPPFLAGS.qt2-libs= -I${QTDIR}/include -BUILDLINK_LDFLAGS.qt2-libs= -L${QTDIR}/lib -Wl,${RPATH_FLAG}${QTDIR}/lib - -.include "../../devel/zlib/buildlink2.mk" -.include "../../fonts/Xft2/buildlink2.mk" -.include "../../graphics/MesaLib/buildlink2.mk" -.include "../../graphics/glu/buildlink2.mk" -.include "../../graphics/jpeg/buildlink2.mk" -.include "../../graphics/mng/buildlink2.mk" -.include "../../graphics/png/buildlink2.mk" - -CONFIGURE_ENV+= QTDIR="${QTDIR}" -CONFIGURE_ENV+= MOC="${QTDIR}/bin/moc" -MAKE_ENV+= QTDIR="${QTDIR}" -MAKE_ENV+= MOC="${QTDIR}/bin/moc" -LDFLAGS+= -Wl,${RPATH_FLAG}${QTDIR}/lib - -BUILDLINK_TARGETS+= qt2-libs-buildlink - -qt2-libs-buildlink: _BUILDLINK_USE - -.endif # QT2_LIBS_BUILDLINK2_MK |