diff options
author | jlam <jlam> | 2004-02-01 10:11:39 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-02-01 10:11:39 +0000 |
commit | 99f3c920a08053590bbd7b1e26eb1de73a953244 (patch) | |
tree | 4fb45fe29bf400d4a7a86bac494d1018be84c962 /textproc/xmlcatmgr/catalogs.mk | |
parent | 4fdb8af951ca1e1707ac7e4124989ff14f5cc00a (diff) | |
download | pkgsrc-99f3c920a08053590bbd7b1e26eb1de73a953244.tar.gz |
Add a buildlink3.mk file for xmlcatmgr and teach catalogs.mk to use the
buildlink3.mk file if USE_BUILDLINK3 is "yes".
Diffstat (limited to 'textproc/xmlcatmgr/catalogs.mk')
-rw-r--r-- | textproc/xmlcatmgr/catalogs.mk | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/textproc/xmlcatmgr/catalogs.mk b/textproc/xmlcatmgr/catalogs.mk index cf8767ba617..5e31d916c99 100644 --- a/textproc/xmlcatmgr/catalogs.mk +++ b/textproc/xmlcatmgr/catalogs.mk @@ -1,4 +1,4 @@ -# $NetBSD: catalogs.mk,v 1.2 2003/07/22 18:25:09 jmmv Exp $ +# $NetBSD: catalogs.mk,v 1.3 2004/02/01 10:11:39 jlam Exp $ # # This Makefile fragment is intended to be included by packages that install # catalog files or DTDs. It takes care of registering them into the right @@ -54,7 +54,10 @@ DEINSTALL_EXTRA_TMPL+= ../../textproc/xmlcatmgr/files/deinstall.tmpl USE_PKGINSTALL= YES .endif # !empty(SGML_ENTRIES) || !empty(XML_ENTRIES) -USE_BUILDLINK2= YES -.include "../../textproc/xmlcatmgr/buildlink2.mk" +.if !empty(USE_BUILDLINK3:[yY][eE][sS]) +. include "../../textproc/xmlcatmgr/buildlink3.mk" +.elif empty(USE_BUILDLINK2:[nN][oO]) +. include "../../textproc/xmlcatmgr/buildlink2.mk" +.endif .endif # XMLCATMGR_CATALOGS_MK |