diff options
author | wiz <wiz> | 2004-07-06 22:41:15 +0000 |
---|---|---|
committer | wiz <wiz> | 2004-07-06 22:41:15 +0000 |
commit | d21825768d4c8a1342aeb7ecbf568da3fa5347a3 (patch) | |
tree | 7d9cf0e86307ff343c03ce81d6f3e1ee125c623f /x11 | |
parent | 6a0b5ac5f6e5f8b479c6e538e8bdf039d11d8e3d (diff) | |
download | pkgsrc-d21825768d4c8a1342aeb7ecbf568da3fa5347a3.tar.gz |
Unused.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/XFree86-libs/buildlink2.mk | 75 | ||||
-rw-r--r-- | x11/Xfixes/buildlink2.mk | 23 | ||||
-rw-r--r-- | x11/Xrandr-mixedcase/buildlink2.mk | 35 | ||||
-rw-r--r-- | x11/Xrender/buildlink2.mk | 148 | ||||
-rw-r--r-- | x11/fixesext/buildlink2.mk | 22 | ||||
-rw-r--r-- | x11/qt3-libs/buildlink2.mk | 49 | ||||
-rw-r--r-- | x11/randrext/buildlink2.mk | 34 | ||||
-rw-r--r-- | x11/render/buildlink2.mk | 91 | ||||
-rw-r--r-- | x11/xcursor/buildlink2.mk | 103 |
9 files changed, 0 insertions, 580 deletions
diff --git a/x11/XFree86-libs/buildlink2.mk b/x11/XFree86-libs/buildlink2.mk deleted file mode 100644 index 6f213738436..00000000000 --- a/x11/XFree86-libs/buildlink2.mk +++ /dev/null @@ -1,75 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.9 2004/04/27 00:52:33 wiz Exp $ -# -# This Makefile fragment is included by packages that use XFree86-libs. -# -# This file was created automatically using createbuildlink 2.6. -# - -.if !defined(XFREE86_LIBS_BUILDLINK2_MK) -XFREE86_LIBS_BUILDLINK2_MK= # defined - -BUILDLINK_PACKAGES+= XFree86-libs -BUILDLINK_DEPENDS.XFree86-libs?= XFree86-libs>=4.4.0 -BUILDLINK_PKGSRCDIR.XFree86-libs?= ../../x11/XFree86-libs - -EVAL_PREFIX+= BUILDLINK_PREFIX.XFree86-libs=XFree86-libs -BUILDLINK_PREFIX.XFree86-libs_DEFAULT= ${LOCALBASE}/X11R6 -BUILDLINK_FILES.XFree86-libs+= include/DPS/*.h -BUILDLINK_FILES.XFree86-libs+= include/GL/*.h -BUILDLINK_FILES.XFree86-libs+= include/X11/*.h -BUILDLINK_FILES.XFree86-libs+= include/X11/ICE/*.h -BUILDLINK_FILES.XFree86-libs+= include/X11/SM/*.h -BUILDLINK_FILES.XFree86-libs+= include/X11/Xaw/*.h -BUILDLINK_FILES.XFree86-libs+= include/X11/Xcursor/*.h -BUILDLINK_FILES.XFree86-libs+= include/X11/Xmu/*.h -BUILDLINK_FILES.XFree86-libs+= include/X11/extensions/*.h -BUILDLINK_FILES.XFree86-libs+= include/X11/fonts/*.h -BUILDLINK_FILES.XFree86-libs+= include/*.h -BUILDLINK_FILES.XFree86-libs+= lib/libGLw.* -BUILDLINK_FILES.XFree86-libs+= lib/libICE.* -BUILDLINK_FILES.XFree86-libs+= lib/libSM.* -BUILDLINK_FILES.XFree86-libs+= lib/libX11.* -BUILDLINK_FILES.XFree86-libs+= lib/libXRes.* -BUILDLINK_FILES.XFree86-libs+= lib/libXTrap.* -BUILDLINK_FILES.XFree86-libs+= lib/libXau.* -BUILDLINK_FILES.XFree86-libs+= lib/libXaw.* -BUILDLINK_FILES.XFree86-libs+= lib/libXcursor.* -BUILDLINK_FILES.XFree86-libs+= lib/libXdmcp.* -BUILDLINK_FILES.XFree86-libs+= lib/libXext.* -BUILDLINK_FILES.XFree86-libs+= lib/libXfont.* -BUILDLINK_FILES.XFree86-libs+= lib/libXfontcache.* -BUILDLINK_FILES.XFree86-libs+= lib/libXi.* -BUILDLINK_FILES.XFree86-libs+= lib/libXinerama.* -BUILDLINK_FILES.XFree86-libs+= lib/libXmu.* -BUILDLINK_FILES.XFree86-libs+= lib/libXmuu.* -BUILDLINK_FILES.XFree86-libs+= lib/libXp.* -BUILDLINK_FILES.XFree86-libs+= lib/libXpm.* -BUILDLINK_FILES.XFree86-libs+= lib/libXss.* -BUILDLINK_FILES.XFree86-libs+= lib/libXt.* -BUILDLINK_FILES.XFree86-libs+= lib/libXtst.* -BUILDLINK_FILES.XFree86-libs+= lib/libXv.* -BUILDLINK_FILES.XFree86-libs+= lib/libXvMC.* -BUILDLINK_FILES.XFree86-libs+= lib/libXxf86dga.* -BUILDLINK_FILES.XFree86-libs+= lib/libXxf86misc.* -BUILDLINK_FILES.XFree86-libs+= lib/libXxf86vm.* -BUILDLINK_FILES.XFree86-libs+= lib/libdps.* -BUILDLINK_FILES.XFree86-libs+= lib/libdpstk.* -BUILDLINK_FILES.XFree86-libs+= lib/libfntstubs.* -BUILDLINK_FILES.XFree86-libs+= lib/libfontenc.* -BUILDLINK_FILES.XFree86-libs+= lib/liboldX.* -BUILDLINK_FILES.XFree86-libs+= lib/libpsres.* -BUILDLINK_FILES.XFree86-libs+= lib/libxf86config.* -BUILDLINK_FILES.XFree86-libs+= lib/libxkbfile.* -BUILDLINK_FILES.XFree86-libs+= lib/libxkbui.* -BUILDLINK_FILES.XFree86-libs+= lib/libGL.* -BUILDLINK_FILES.XFree86-libs+= lib/libGLU.* -BUILDLINK_FILES.XFree86-libs+= lib/libOSMesa.* - -.include "../../fonts/fontconfig/buildlink2.mk" -.include "../../graphics/freetype2/buildlink2.mk" -.include "../../textproc/expat/buildlink2.mk" -BUILDLINK_TARGETS+= XFree86-libs-buildlink - -XFree86-libs-buildlink: _BUILDLINK_USE - -.endif # XFREE86_LIBS_BUILDLINK2_MK diff --git a/x11/Xfixes/buildlink2.mk b/x11/Xfixes/buildlink2.mk deleted file mode 100644 index 3ca24637ab2..00000000000 --- a/x11/Xfixes/buildlink2.mk +++ /dev/null @@ -1,23 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/12/16 08:40:51 recht Exp $ - -.if !defined(XFIXES_BUILDLINK2_MK) -XFIXES_BUILDLINK2_MK= # defined - -BUILDLINK_PACKAGES+= Xfixes -BUILDLINK_DEPENDS.Xfixes?= Xfixes>=2.0.0 -BUILDLINK_PKGSRCDIR.Xfixes?= ../../x11/Xfixes - -EVAL_PREFIX+= BUILDLINK_PREFIX.Xfixes=Xfixes -BUILDLINK_PREFIX.Xfixes_DEFAULT= ${LOCALBASE} -BUILDLINK_FILES.Xfixes+= include/X11/extensions/Xfixes.h -BUILDLINK_FILES.Xfixes+= lib/libXfixes.* - -USE_X11= yes - -.include "../../x11/fixesext/buildlink2.mk" - -BUILDLINK_TARGETS+= Xfixes-buildlink - -Xfixes-buildlink: _BUILDLINK_USE - -.endif # XFIXES_BUILDLINK2_MK diff --git a/x11/Xrandr-mixedcase/buildlink2.mk b/x11/Xrandr-mixedcase/buildlink2.mk deleted file mode 100644 index d2b143baef9..00000000000 --- a/x11/Xrandr-mixedcase/buildlink2.mk +++ /dev/null @@ -1,35 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.2 2004/03/15 17:30:18 recht Exp $ - -.if !defined(XRANDR_BUILDLINK2_MK) -XRANDR_BUILDLINK2_MK= # defined - -.include "../../mk/bsd.prefs.mk" - -BUILDLINK_PACKAGES+= Xrandr -# Xrandr won't build without the X Extension library which is only present -# in XFree86>=4.3. -. if exists(${X11BASE}/include/X11/extensions/extutil.h) -BUILDLINK_DEPENDS.Xrandr?= Xrandr>=1.0.1 -BUILDLINK_PKGSRCDIR.Xrandr?= ../../x11/Xrandr - -EVAL_PREFIX+= BUILDLINK_PREFIX.Xrandr=Xrandr -BUILDLINK_PREFIX.Xrandr_DEFAULT= ${LOCALBASE} -BUILDLINK_FILES.Xrandr+= include/X11/extensions/Xrandr.h -BUILDLINK_FILES.Xrandr+= lib/libXrandr.* - -_IS_BUILTIN_XRANDR= 0 -. else -BUILDLINK_PREFIX.Xrandr= ${X11BASE} -BUILDLINK_PREFIX.Xrandr_DEFAULT= ${X11BASE} -. endif - -USE_X11= YES - -.include "../../x11/randrext/buildlink2.mk" -.include "../../x11/Xrender/buildlink2.mk" - -BUILDLINK_TARGETS+= Xrandr-buildlink - -Xrandr-buildlink: _BUILDLINK_USE - -.endif # XRANDR_BUILDLINK2_MK diff --git a/x11/Xrender/buildlink2.mk b/x11/Xrender/buildlink2.mk deleted file mode 100644 index ff226257d57..00000000000 --- a/x11/Xrender/buildlink2.mk +++ /dev/null @@ -1,148 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.12 2004/02/16 21:03:14 jlam Exp $ - -.if !defined(XRENDER_BUILDLINK2_MK) -XRENDER_BUILDLINK2_MK= # defined - -.include "../../mk/bsd.prefs.mk" - -BUILDLINK_DEPENDS.Xrender?= Xrender>=0.2 -BUILDLINK_PKGSRCDIR.Xrender?= ../../x11/Xrender - -# Check if we got Xrender distributed with XFree86 4.x or if we need to -# depend on the Xrender package. -# -_REQUIRE_BUILTIN_XRENDER?= NO - -_X11_TMPL= ${X11BASE}/lib/X11/config/X11.tmpl - -.if !defined(_BUILTIN_XRENDER) -_BUILTIN_XRENDER= NO -. if exists(${_X11_TMPL}) -_IS_BUILTIN.Xrender!= \ - if ${GREP} -q BuildRenderLibrary ${_X11_TMPL}; then \ - ${ECHO} "YES"; \ - else \ - ${ECHO} "NO"; \ - fi -_BUILTIN_XRENDER= ${_IS_BUILTIN.Xrender} -. if !empty(_IS_BUILTIN.Xrender:M[yY][eE][sS]) -# -# Create an appropriate package name for the built-in Xrender distributed -# with the system. This package name can be used to check against -# BUILDLINK_DEPENDS.<pkg> to see if we need to install the pkgsrc version -# or if the built-in one is sufficient. -# -# Xrender doesn't provide a method of discovering the version number of -# the software. Match up Xrender versions with XFree86 versions for an -# approximate determination of the Xrender version. -# -_XRENDER_VERSIONS= 0.8.3 0.8.2 0.8.1 0.8 0.2 0.1 -_XRENDER_0.1= 4.0 4.0.* 4.1 4.1.[0-8][0-9]* 4.1.9[0-8]* -_XRENDER_0.2= 4.1.99.* 4.2 4.2.[0-8][0-9]* 4.2.9[0-8]* -_XRENDER_0.8= 4.2.99.* 4.3 4.3.[0-8][0-9]* 4.3.9[0-8]* -. if !defined(_XF86_VERSION) -_X11_CONFIG_VERSION_DEF= ${X11BASE}/lib/X11/config/version.def -. if !exists(${_X11_CONFIG_VERSION_DEF}) -_XF86_VERSION= 3.3 -. else -_XF86_MAJOR!= \ - ${AWK} '/\#define[ ]*XF86_VERSION_MAJOR/ { print $$3 }' \ - ${_X11_CONFIG_VERSION_DEF} -_XF86_MINOR!= \ - ${AWK} '/\#define[ ]*XF86_VERSION_MINOR/ { print $$3 }' \ - ${_X11_CONFIG_VERSION_DEF} -_XF86_PATCH!= \ - ${AWK} '/\#define[ ]*XF86_VERSION_PATCH/ { print $$3 }' \ - ${_X11_CONFIG_VERSION_DEF} -_XF86_SNAP!= \ - ${AWK} '/\#define[ ]*XF86_VERSION_SNAP/ { print $$3 }' \ - ${_X11_CONFIG_VERSION_DEF} -_XF86_TEENY= ${_XF86_PATCH}.${_XF86_SNAP} -. if !empty(_XF86_TEENY:M0.0) -_XF86_VERSION= ${_XF86_MAJOR}.${_XF86_MINOR} -. else -_XF86_VERSION= ${_XF86_MAJOR}.${_XF86_MINOR}.${_XF86_TEENY} -. endif -. endif -. endif -. for _xrender_version_ in ${_XRENDER_VERSIONS} -. for _pattern_ in ${_XRENDER_${_xrender_version_}} -. if !empty(_XF86_VERSION:M${_pattern_}) -_XRENDER_VERSION?= ${_xrender_version_} -. endif -. endfor -. endfor -_XRENDER_VERSION?= 0.1 -_XRENDER_PKG= Xrender-${_XRENDER_VERSION} - -_BUILTIN_XRENDER?= YES -. for _depend_ in ${BUILDLINK_DEPENDS.Xrender} -. if !empty(_BUILTIN_XRENDER:M[yY][eE][sS]) -_BUILTIN_XRENDER!= \ - if ${PKG_ADMIN} pmatch '${_depend_}' ${_XRENDER_PKG}; then \ - ${ECHO} "YES"; \ - else \ - ${ECHO} "NO"; \ - fi -. endif -. endfor -. endif -. endif -MAKEFLAGS+= _BUILTIN_XRENDER=${_BUILTIN_XRENDER} -.endif - -.if !empty(_BUILTIN_XRENDER:M[yY][eE][sS]) -_NEED_XRENDER= NO -.else -_NEED_XRENDER= YES -.endif - -.if !empty(PREFER_NATIVE:M[yY][eE][sS]) && \ - ${_BUILTIN_XRENDER} == "YES" -_NEED_XRENDER= NO -.endif -.if !empty(PREFER_PKGSRC:M[yY][eE][sS]) -_NEED_XRENDER= YES -.endif -.if !empty(PREFER_NATIVE:MXrender) && \ - ${_BUILTIN_XRENDER} == "YES" -_NEED_XRENDER= NO -.endif -.if !empty(PREFER_PKGSRC:MXrender) -_NEED_XRENDER= YES -.endif - -.if !empty(_REQUIRE_BUILTIN_XRENDER:M[yY][eE][sS]) -_NEED_XRENDER= NO -.endif - -.if ${_NEED_XRENDER} == "YES" -BUILDLINK_PACKAGES+= Xrender -EVAL_PREFIX+= BUILDLINK_PREFIX.Xrender=Xrender -BUILDLINK_PREFIX.Xrender_DEFAULT= ${X11PREFIX} -# -# If we depend on the package, depend on the latest version -# with a library minor bump. -# -BUILDLINK_DEPENDS.Xrender= Xrender>=0.8.2 -BUILDLINK_DEPENDS.render= render>=0.8 -.else -BUILDLINK_PREFIX.Xrender= ${X11BASE} -.endif - -BUILDLINK_FILES.Xrender= include/X11/extensions/Xrender.h -BUILDLINK_FILES.Xrender+= include/X11/extensions/extutil.h -BUILDLINK_FILES.Xrender+= include/X11/extensions/region.h -BUILDLINK_FILES.Xrender+= include/X11/extensions/render.h -BUILDLINK_FILES.Xrender+= include/X11/extensions/renderproto.h -BUILDLINK_FILES.Xrender+= lib/libXrender.* - -USE_X11= yes - -.include "../../x11/render/buildlink2.mk" - -BUILDLINK_TARGETS+= Xrender-buildlink - -Xrender-buildlink: _BUILDLINK_USE - -.endif # XRENDER_BUILDLINK2_MK diff --git a/x11/fixesext/buildlink2.mk b/x11/fixesext/buildlink2.mk deleted file mode 100644 index 4dc2a311246..00000000000 --- a/x11/fixesext/buildlink2.mk +++ /dev/null @@ -1,22 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/12/16 08:39:24 recht Exp $ -# - -.if !defined(FIXESEXT_BUILDLINK2_MK) -FIXESEXT_BUILDLINK2_MK= # defined - -BUILDLINK_PACKAGES+= fixesext -BUILDLINK_DEPENDS.fixesext?= fixesext>=2.0 -BUILDLINK_PKGSRCDIR.fixesext?= ../../x11/fixesext - -EVAL_PREFIX+= BUILDLINK_PREFIX.fixesext=fixesext -BUILDLINK_PREFIX.fixesext_DEFAULT= ${LOCALBASE} -BUILDLINK_FILES.fixesext+= include/X11/extensions/xfixesproto.h -BUILDLINK_FILES.fixesext+= include/X11/extensions/xfixeswire.h - -USE_X11= yes - -BUILDLINK_TARGETS+= fixesext-buildlink - -fixesext-buildlink: _BUILDLINK_USE - -.endif # FIXESEXT_BUILDLINK2_MK diff --git a/x11/qt3-libs/buildlink2.mk b/x11/qt3-libs/buildlink2.mk deleted file mode 100644 index 728212a6981..00000000000 --- a/x11/qt3-libs/buildlink2.mk +++ /dev/null @@ -1,49 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.18 2004/03/29 09:27:11 recht Exp $ - -.if !defined(QT3_LIBS_BUILDLINK2_MK) -QT3_LIBS_BUILDLINK2_MK= # defined - -BUILDLINK_PACKAGES+= qt3-libs -BUILDLINK_DEPENDS.qt3-libs?= qt3-libs>=3.2.3 -BUILDLINK_PKGSRCDIR.qt3-libs?= ../../x11/qt3-libs - -EVAL_PREFIX+= BUILDLINK_PREFIX.qt3-libs=qt3-libs -BUILDLINK_PREFIX.qt3-libs_DEFAULT= ${LOCALBASE} -BUILDLINK_FILES.qt3-libs+= qt3/include/*.h -BUILDLINK_FILES.qt3-libs+= qt3/include/private/*.h -BUILDLINK_FILES.qt3-libs+= qt3/lib/libqt-mt.* - -QTDIR= ${BUILDLINK_PREFIX.qt3-libs}/qt3 - -BUILDLINK_CPPFLAGS.qt3-libs= -I${QTDIR}/include -BUILDLINK_LDFLAGS.qt3-libs= -L${QTDIR}/lib -Wl,${RPATH_FLAG}${QTDIR}/lib -FIX_RPATH+= BUILDLINK_LDFLAGS.qt3-libs - -PTHREAD_OPTS+= require - -.include "../../devel/zlib/buildlink2.mk" -.include "../../fonts/Xft2/buildlink2.mk" -.include "../../graphics/MesaLib/buildlink2.mk" -.include "../../graphics/freetype2/buildlink2.mk" -.include "../../graphics/glu/buildlink2.mk" -.include "../../graphics/jpeg/buildlink2.mk" -.include "../../graphics/mng/buildlink2.mk" -.include "../../graphics/png/buildlink2.mk" -.include "../../x11/Xrandr/buildlink2.mk" -.include "../../x11/xcursor/buildlink2.mk" -.include "../../mk/pthread.buildlink2.mk" - -CONFIGURE_ENV+= MOC="${QTDIR}/bin/moc" -MAKE_ENV+= MOC="${QTDIR}/bin/moc" -LDFLAGS+= -Wl,${RPATH_FLAG}${QTDIR}/lib - -.if !defined(BUILD_QT3) -CONFIGURE_ENV+= QTDIR="${QTDIR}" -MAKE_ENV+= QTDIR="${QTDIR}" -.endif - -BUILDLINK_TARGETS+= qt3-libs-buildlink - -qt3-libs-buildlink: _BUILDLINK_USE - -.endif # QT3_LIBS_BUILDLINK2_MK diff --git a/x11/randrext/buildlink2.mk b/x11/randrext/buildlink2.mk deleted file mode 100644 index 6ff11f7a6ce..00000000000 --- a/x11/randrext/buildlink2.mk +++ /dev/null @@ -1,34 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.3 2004/03/15 17:30:18 recht Exp $ -# -# This Makefile fragment is included by packages that use randrext. -# -# This file was created automatically using createbuildlink 2.8. -# - -.if !defined(RANDREXT_BUILDLINK2_MK) -RANDREXT_BUILDLINK2_MK= # defined - -.include "../../mk/bsd.prefs.mk" - -BUILDLINK_PACKAGES+= randrext -# Xrandr won't build without the X Extension library which is only present -# in XFree86>=4.3. -# For this reason we don't need the header files. -. if exists(${X11BASE}/include/X11/extensions/extutil.h) -BUILDLINK_DEPENDS.randrext?= randrext>=1.0 -BUILDLINK_PKGSRCDIR.randrext?= ../../x11/randrext - -EVAL_PREFIX+= BUILDLINK_PREFIX.randrext=randrext -BUILDLINK_PREFIX.randrext_DEFAULT= ${LOCALBASE} -BUILDLINK_FILES.randrext+= include/X11/extensions/randr.h -BUILDLINK_FILES.randrext+= include/X11/extensions/randrproto.h -. else -BUILDLINK_PREFIX.randrext= ${X11BASE} -BUILDLINK_PREFIX.randrext_DEFAULT= ${X11BASE} -. endif - -BUILDLINK_TARGETS+= randrext-buildlink - -randrext-buildlink: _BUILDLINK_USE - -.endif # RANDREXT_BUILDLINK2_MK diff --git a/x11/render/buildlink2.mk b/x11/render/buildlink2.mk deleted file mode 100644 index ceb583b3481..00000000000 --- a/x11/render/buildlink2.mk +++ /dev/null @@ -1,91 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.2 2004/02/16 12:39:00 jlam Exp $ - -.if !defined(RENDER_BUILDLINK2_MK) -RENDER_BUILDLINK2_MK= # defined - -.include "../../mk/bsd.prefs.mk" - -BUILDLINK_DEPENDS.render?= render>=0.2 -BUILDLINK_PKGSRCDIR.render?= ../../x11/render -BUILDLINK_DEPMETHOD.render?= build - -# Check if we got render distributed with XFree86 4.x or if we need to -# depend on the render package. -# -_REQUIRE_BUILTIN_RENDER?= NO - -_RENDER_H= ${X11BASE}/include/X11/extensions/render.h - -.if !defined(_BUILTIN_RENDER) -_BUILTIN_RENDER= NO -. if exists(${_RENDER_H}) -# Create an appropriate render package name for the built-in render -# distributed with XFree86 4.x. This package name can be used to check -# against BUILDLINK_DEPENDS.render to see if we need to install the -# pkgsrc render or if the built-in one is sufficient. -# -_RENDER_MAJOR!= \ - ${AWK} '/.*\#define.*RENDER_MAJOR/ { print $$3 }' ${_RENDER_H} -_RENDER_MINOR!= \ - ${AWK} '/.*\#define.*RENDER_MINOR/ { print "."$$3 }' ${_RENDER_H} -_RENDER_VERSION= ${_RENDER_MAJOR}${_RENDER_MINOR} -_RENDER_PKG= render-${_RENDER_VERSION} -_RENDER_DEPENDS= ${BUILDLINK_DEPENDS.render} -_BUILTIN_RENDER!= \ - if ${PKG_ADMIN} pmatch '${_RENDER_DEPENDS}' ${_RENDER_PKG}; then \ - if ${GREP} -q BuildRenderLibrary ${_X11_TMPL}; then \ - ${ECHO} "YES"; \ - else \ - ${ECHO} "NO"; \ - fi; \ - else \ - ${ECHO} "NO"; \ - fi -. endif -MAKEFLAGS+= _BUILTIN_RENDER=${_BUILTIN_RENDER} -.endif - -.if !empty(_BUILTIN_RENDER:M[yY][eE][sS]) -_NEED_RENDER= NO -.else -_NEED_RENDER= YES -.endif - -.if !empty(PREFER_NATIVE:M[yY][eE][sS]) && \ - ${_BUILTIN_RENDER} == "YES" -_NEED_RENDER= NO -.endif -.if !empty(PREFER_PKGSRC:M[yY][eE][sS]) -_NEED_RENDER= YES -.endif -.if !empty(PREFER_NATIVE:Mrender) && \ - ${_BUILTIN_RENDER} == "YES" -_NEED_RENDER= NO -.endif -.if !empty(PREFER_PKGSRC:Mrender) -_NEED_RENDER= YES -.endif - -.if !empty(_REQUIRE_BUILTIN_RENDER:M[yY][eE][sS]) -_NEED_RENDER= NO -.endif - -.if ${_NEED_RENDER} == "YES" -BUILDLINK_PACKAGES+= render -EVAL_PREFIX+= BUILDLINK_PREFIX.render=render -BUILDLINK_PREFIX.render_DEFAULT= ${X11PREFIX} -BUILDLINK_DEPENDS.render= render>=0.8 -.else -BUILDLINK_PREFIX.render= ${X11BASE} -.endif - -BUILDLINK_FILES.render= include/X11/extensions/render.h -BUILDLINK_FILES.render+= include/X11/extensions/renderproto.h - -USE_X11= yes - -BUILDLINK_TARGETS+= render-buildlink - -render-buildlink: _BUILDLINK_USE - -.endif # RENDER_BUILDLINK2_MK diff --git a/x11/xcursor/buildlink2.mk b/x11/xcursor/buildlink2.mk deleted file mode 100644 index fedc099f288..00000000000 --- a/x11/xcursor/buildlink2.mk +++ /dev/null @@ -1,103 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.4 2004/03/15 16:24:24 recht Exp $ - -.if !defined(XCURSOR_BUILDLINK2_MK) -XCURSOR_BUILDLINK2_MK= # defined - -.include "../../mk/bsd.prefs.mk" - -BUILDLINK_DEPENDS.xcursor?= xcursor>=1.0 -BUILDLINK_PKGSRCDIR.xcursor?= ../../x11/xcursor - -# Check if we got xcursor distributed with XFree86 4.x or if we need to -# depend on the xcursor package. -# -_REQUIRE_BUILTIN_XCURSOR?= NO - -_X11_XCURSOR_XCURSOR_H= ${X11BASE}/include/X11/Xcursor/Xcursor.h - -.if !defined(_BUILTIN_XCURSOR) -_BUILTIN_XCURSOR= NO -. if exists(${_X11_XCURSOR_XCURSOR_H}) -_BUILTIN_XCURSOR= YES -# -# Create an appropriate package name for the built-in Xcursor distributed -# with the system. This package name can be used to check against -# BUILDLINK_DEPENDS.<pkg> to see if we need to install the pkgsrc version -# or if the built-in one is sufficient. -# -_XCURSOR_MAJOR!= \ - ${AWK} '/\#define[ ]*XCURSOR_MAJOR/ { print $$3 }' \ - ${_X11_XCURSOR_XCURSOR_H} -_XCURSOR_MINOR!= \ - ${AWK} '/\#define[ ]*XCURSOR_MINOR/ { print "."$$3 }' \ - ${_X11_XCURSOR_XCURSOR_H} -_XCURSOR_REVISION!= \ - ${AWK} '/\#define[ ]*XCURSOR_MINOR/ { print "."$$3 }' \ - ${_X11_XCURSOR_XCURSOR_H} -_XCURSOR_VERSION= ${_XCURSOR_MAJOR}${_XCURSOR_MINOR}${_XCURSOR_REVISION} -_XCURSOR_PKG= xcursor-${_XCURSOR_VERSION} - -_BUILTIN_XCURSOR?= YES -. for _depend_ in ${BUILDLINK_DEPENDS.xcursor} -. if !empty(_BUILTIN_XCURSOR:M[yY][eE][sS]) -_BUILTIN_XCURSOR!= \ - if ${PKG_ADMIN} pmatch '${_depend_}' ${_XCURSOR_PKG}; then \ - ${ECHO} "yes"; \ - else \ - ${ECHO} "no"; \ - fi -. endif -. endfor -. endif -MAKEFLAGS+= _BUILTIN_XCURSOR=${_BUILTIN_XCURSOR} -.endif - -.if !empty(_BUILTIN_XCURSOR:M[yY][eE][sS]) -_NEED_XCURSOR= NO -.else -_NEED_XCURSOR= YES -.endif - -.if !empty(PREFER_NATIVE:M[yY][eE][sS]) && \ - ${_BUILTIN_XCURSOR} == "YES" -_NEED_XCURSOR= NO -.endif -.if !empty(PREFER_PKGSRC:M[yY][eE][sS]) -_NEED_XCURSOR= YES -.endif -.if !empty(PREFER_NATIVE:Mxcursor) && \ - ${_BUILTIN_XCURSOR} == "YES" -_NEED_XCURSOR= NO -.endif -.if !empty(PREFER_PKGSRC:Mxcursor) -_NEED_XCURSOR= YES -.endif - -.if !empty(_REQUIRE_BUILTIN_XCURSOR:M[yY][eE][sS]) -_NEED_XCURSOR= NO -.endif - -.if ${_NEED_XCURSOR} == "YES" -BUILDLINK_PACKAGES+= xcursor -EVAL_PREFIX+= BUILDLINK_PREFIX.xcursor=xcursor -BUILDLINK_PREFIX.xcursor_DEFAULT= ${LOCALBASE} - -BUILDLINK_DEPENDS.xcursor= xcursor>=1.1.1 -BUILDLINK_DEPENDS.Xrender= Xrender>=0.8 -.else -BUILDLINK_PREFIX.xcursor= ${X11BASE} -.endif - -BUILDLINK_FILES.xcursor+= include/X11/Xcursor/*.h -BUILDLINK_FILES.xcursor+= lib/libXcursor.* - -USE_X11= yes - -.include "../../x11/Xfixes/buildlink2.mk" -.include "../../x11/Xrender/buildlink2.mk" - -BUILDLINK_TARGETS+= xcursor-buildlink - -xcursor-buildlink: _BUILDLINK_USE - -.endif # XCURSOR_BUILDLINK2_MK |