Fri Jun 7 17:43:40 2013 UTC ()
Remove special-case dependency-checking logic now handled by the
general solution I checked in in bsd.buildlink3.mk.


(dholland)
diff -r1.19 -r1.20 pkgsrc/fonts/Xft2/builtin.mk
diff -r1.1 -r1.2 pkgsrc/x11/libXft/builtin.mk

cvs diff -r1.19 -r1.20 pkgsrc/fonts/Xft2/builtin.mk (expand / switch to context diff)
--- pkgsrc/fonts/Xft2/builtin.mk 2013/06/05 07:15:08 1.19
+++ pkgsrc/fonts/Xft2/builtin.mk 2013/06/07 17:43:40 1.20
@@ -1,12 +1,5 @@
-# $NetBSD: builtin.mk,v 1.19 2013/06/05 07:15:08 tron Exp $
+# $NetBSD: builtin.mk,v 1.20 2013/06/07 17:43:40 dholland Exp $
 
-.if !defined(USE_BUILTIN.fontconfig)
-.include "../../fonts/fontconfig/builtin.mk"
-.endif
-.if !defined(USE_BUILTIN.Xrender)
-.include "../../x11/Xrender/builtin.mk"
-.endif
-
 BUILTIN_PKG:=	Xft2
 
 BUILTIN_FIND_FILES_VAR:=	H_XFT2
@@ -53,17 +46,6 @@
 ### Determine whether we should use the built-in implementation if it
 ### exists, and set USE_BUILTIN.<pkg> appropriate ("yes" or "no").
 ###
-#
-# These are dependencies of Xft2.  If we need to use the pkgsrc
-# versions of any of these, then also use the pkgsrc version of
-# Xft2.
-#
-.if !empty(USE_BUILTIN.Xrender:M[nN][oO])
-USE_BUILTIN.Xft2=	no
-.endif
-.if !empty(USE_BUILTIN.fontconfig:M[nN][oO])
-USE_BUILTIN.Xft2=	no
-.endif
 
 .if !defined(USE_BUILTIN.Xft2)
 .  if ${PREFER.Xft2} == "pkgsrc"

cvs diff -r1.1 -r1.2 pkgsrc/x11/libXft/builtin.mk (expand / switch to context diff)
--- pkgsrc/x11/libXft/builtin.mk 2013/06/05 12:12:07 1.1
+++ pkgsrc/x11/libXft/builtin.mk 2013/06/07 17:43:40 1.2
@@ -1,12 +1,5 @@
-# $NetBSD: builtin.mk,v 1.1 2013/06/05 12:12:07 tron Exp $
+# $NetBSD: builtin.mk,v 1.2 2013/06/07 17:43:40 dholland Exp $
 
-.if !defined(USE_BUILTIN.fontconfig)
-.include "../../fonts/fontconfig/builtin.mk"
-.endif
-.if !defined(USE_BUILTIN.Xrender)
-.include "../../x11/Xrender/builtin.mk"
-.endif
-
 BUILTIN_PKG:=	libXft
 
 BUILTIN_FIND_FILES_VAR:=	H_XFT2
@@ -53,17 +46,6 @@
 ### Determine whether we should use the built-in implementation if it
 ### exists, and set USE_BUILTIN.<pkg> appropriate ("yes" or "no").
 ###
-#
-# These are dependencies of libXft.  If we need to use the pkgsrc
-# versions of any of these, then also use the pkgsrc version of
-# libXft.
-#
-.if !empty(USE_BUILTIN.Xrender:M[nN][oO])
-USE_BUILTIN.libXft=	no
-.endif
-.if !empty(USE_BUILTIN.fontconfig:M[nN][oO])
-USE_BUILTIN.libXft=	no
-.endif
 
 .if !defined(USE_BUILTIN.libXft)
 .  if ${PREFER.libXft} == "pkgsrc"