summaryrefslogtreecommitdiff
path: root/x11/Xrender
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-03-29 05:43:28 +0000
committerjlam <jlam@pkgsrc.org>2004-03-29 05:43:28 +0000
commit6d92080aa240757729992f43156b2924bbda71c4 (patch)
tree2684bb3d4a41538be1b78668954f44c69a49033d /x11/Xrender
parent82cd68d38a1d8bd0262376d4a40e4c201e6c55b3 (diff)
downloadpkgsrc-6d92080aa240757729992f43156b2924bbda71c4.tar.gz
Match the template builtin.mk file in bsd.builtin.mk, and make the two
packages that use builtin.mk files (graphics/xpm and pkgtools/x11-links) use the new format correctly.
Diffstat (limited to 'x11/Xrender')
-rw-r--r--x11/Xrender/builtin.mk22
1 files changed, 13 insertions, 9 deletions
diff --git a/x11/Xrender/builtin.mk b/x11/Xrender/builtin.mk
index b7a1940bc8c..bfd222e00b4 100644
--- a/x11/Xrender/builtin.mk
+++ b/x11/Xrender/builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.1 2004/03/10 17:57:15 jlam Exp $
+# $NetBSD: builtin.mk,v 1.2 2004/03/29 05:43:36 jlam Exp $
_X11_TMPL= ${X11BASE}/lib/X11/config/X11.tmpl
@@ -49,7 +49,7 @@ _XF86_VERSION= ${_XF86_MAJOR}.${_XF86_MINOR}
_XF86_VERSION= ${_XF86_MAJOR}.${_XF86_MINOR}.${_XF86_TEENY}
. endif
. endif
-MAKEFLAGS+= _XF86_VERSION=${_XF86_VERSION}
+BUILDLINK_VARS+= _XF86_VERSION
. endif
. for _xrender_version_ in ${_XRENDER_VERSIONS}
. for _pattern_ in ${_XRENDER_${_xrender_version_}}
@@ -60,16 +60,15 @@ _XRENDER_VERSION?= ${_xrender_version_}
. endfor
_XRENDER_VERSION?= 0.1
BUILTIN_PKG.Xrender= Xrender-${_XRENDER_VERSION}
-MAKEFLAGS+= BUILTIN_PKG.Xrender=${BUILTIN_PKG.Xrender}
+BUILDLINK_VARS+= BUILTIN_PKG.Xrender
. endif
. endif
-MAKEFLAGS+= IS_BUILTIN.Xrender=${IS_BUILTIN.Xrender}
-.endif
+BUILDLINK_VARS+= IS_BUILTIN.Xrender
+.endif # IS_BUILTIN.Xrender
-CHECK_BUILTIN.Xrender?= no
-.if !empty(CHECK_BUILTIN.Xrender:M[yY][eE][sS])
-USE_BUILTIN.Xrender= yes
-.endif
+#.if defined(USE_BUILTIN.render) && !empty(USE_BUILTIN.render:M[nN][oO])
+#USE_BUILTIN.Xrender= no
+#.endif
.if !defined(USE_BUILTIN.Xrender)
USE_BUILTIN.Xrender?= ${IS_BUILTIN.Xrender}
@@ -89,6 +88,9 @@ USE_BUILTIN.Xrender!= \
. endif
.endif # USE_BUILTIN.Xrender
+CHECK_BUILTIN.Xrender?= no
+.if !empty(CHECK_BUILTIN.Xrender:M[nN][oO])
+
.if !empty(USE_BUILTIN.Xrender:M[nN][oO])
BUILDLINK_DEPENDS.Xrender+= Xrender>=0.8.2
BUILDLINK_DEPENDS.render+= render>=0.8
@@ -98,3 +100,5 @@ BUILDLINK_DEPENDS.render+= render>=0.8
BUILDLINK_PREFIX.Xrender= ${X11BASE}
USE_BUILTIN.render= yes
.endif
+
+.endif # CHECK_BUILTIN.Xrender