pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/xmlcatmgr Missing an :M operator on the match...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f90320f612ae
branches:  trunk
changeset: 467472:f90320f612ae
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Feb 01 10:17:21 2004 +0000

description:
Missing an :M operator on the match for "yes".

diffstat:

 textproc/xmlcatmgr/catalogs.mk |  14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diffs (48 lines):

diff -r 3042dd3a41ab -r f90320f612ae textproc/xmlcatmgr/catalogs.mk
--- a/textproc/xmlcatmgr/catalogs.mk    Sun Feb 01 10:12:58 2004 +0000
+++ b/textproc/xmlcatmgr/catalogs.mk    Sun Feb 01 10:17:21 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: catalogs.mk,v 1.4 2004/02/01 10:12:58 jlam Exp $
+# $NetBSD: catalogs.mk,v 1.5 2004/02/01 10:17:21 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
@@ -19,6 +19,8 @@
 .if !defined(XMLCATMGR_CATALOGS_MK)
 XMLCATMGR_CATALOGS_MK= # defined
 
+.include "../../mk/bsd.prefs.mk"
+
 # Catalogs to be registered.
 SGML_CATALOGS?=
 XML_CATALOGS?=
@@ -29,16 +31,16 @@
 
 # Convert SGML_CATALOGS files into arguments for SGML_ENTRIES.
 .if !empty(SGML_CATALOGS)
-.for c in ${SGML_CATALOGS}
+.  for c in ${SGML_CATALOGS}
 SGML_ENTRIES+= CATALOG ${PREFIX:=$c} --
-.endfor
+.  endfor
 .endif
 
 # Convert XML_CATALOGS files into arguments for XML_ENTRIES.
 .if !empty(XML_CATALOGS)
-.for c in ${XML_CATALOGS}
+.  for c in ${XML_CATALOGS}
 XML_ENTRIES+=  nextCatalog ${PREFIX:=$c} --
-.endfor
+.  endfor
 .endif
 
 # If there are any entries to register, export required variables and
@@ -54,7 +56,7 @@
 USE_PKGINSTALL=        YES
 .endif # !empty(SGML_ENTRIES) || !empty(XML_ENTRIES)
 
-.if !empty(USE_BUILDLINK3:[yY][eE][sS])
+.if !empty(USE_BUILDLINK3:M[yY][eE][sS])
 .  include "../../textproc/xmlcatmgr/buildlink3.mk"
 .else
 USE_BUILDLINK2=        YES



Home | Main Index | Thread Index | Old Index