summaryrefslogtreecommitdiff
path: root/textproc
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 /textproc
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 'textproc')
-rw-r--r--textproc/expat/builtin.mk18
1 files changed, 9 insertions, 9 deletions
diff --git a/textproc/expat/builtin.mk b/textproc/expat/builtin.mk
index affa0e49395..1b6ea514d5b 100644
--- a/textproc/expat/builtin.mk
+++ b/textproc/expat/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:35 jlam Exp $
_EXPAT_H= ${X11BASE}/include/expat.h
_X11_TMPL= ${X11BASE}/lib/X11/config/X11.tmpl
@@ -30,16 +30,11 @@ _EXPAT_MICRO!= \
${_EXPAT_H}
_EXPAT_VERSION= ${_EXPAT_MAJOR}.${_EXPAT_MINOR}.${_EXPAT_MICRO}
BUILTIN_PKG.expat= expat-${_EXPAT_VERSION}
-MAKEFLAGS+= BUILTIN_PKG.expat=${BUILTIN_PKG.expat}
+BUILDLINK_VARS+= BUILTIN_PKG.expat
. endif
. endif
-MAKEFLAGS+= IS_BUILTIN.expat=${IS_BUILTIN.expat}
-.endif
-
-CHECK_BUILTIN.expat?= no
-.if !empty(CHECK_BUILTIN.expat:M[yY][eE][sS])
-USE_BUILTIN.expat= yes
-.endif
+BUILDLINK_VARS+= IS_BUILTIN.expat
+.endif # IS_BUILTIN.expat
.if !defined(USE_BUILTIN.expat)
USE_BUILTIN.expat?= ${IS_BUILTIN.expat}
@@ -59,6 +54,9 @@ USE_BUILTIN.expat!= \
. endif
.endif # USE_BUILTIN.expat
+CHECK_BUILTIN.expat?= no
+.if !empty(CHECK_BUILTIN.expat:M[nN][oO])
+
.if !empty(USE_BUILTIN.expat:M[nN][oO])
BUILDLINK_DEPENDS.expat+= expat>=1.95.4
.endif
@@ -67,3 +65,5 @@ BUILDLINK_DEPENDS.expat+= expat>=1.95.4
BUILDLINK_PREFIX.expat= ${X11BASE}
USE_X11= yes
.endif
+
+.endif # CHECK_BUILTIN.expat