pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/expat



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Oct 26 10:38:21 UTC 2022

Modified Files:
        pkgsrc/textproc/expat: builtin.mk

Log Message:
expat: pkglint cleanup


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/textproc/expat/builtin.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/expat/builtin.mk
diff -u pkgsrc/textproc/expat/builtin.mk:1.20 pkgsrc/textproc/expat/builtin.mk:1.21
--- pkgsrc/textproc/expat/builtin.mk:1.20       Mon Nov  4 21:43:35 2019
+++ pkgsrc/textproc/expat/builtin.mk    Wed Oct 26 10:38:21 2022
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.20 2019/11/04 21:43:35 rillig Exp $
+# $NetBSD: builtin.mk,v 1.21 2022/10/26 10:38:21 wiz Exp $
 
 BUILTIN_PKG:=  expat
 
@@ -25,7 +25,7 @@ MAKEVARS+=            IS_BUILTIN.expat
 ### a package name to represent the built-in package.
 ###
 .if !defined(BUILTIN_PKG.expat) && \
-    !empty(IS_BUILTIN.expat:M[yY][eE][sS]) && \
+    ${IS_BUILTIN.expat:M[yY][eE][sS]} && \
     empty(H_EXPAT:M__nonexistent__)
 BUILTIN_VERSION.expat!=                                                        \
        ${AWK} '/\#define[      ]*XML_MAJOR_VERSION/ { M = $$3 }        \
@@ -47,10 +47,10 @@ USE_BUILTIN.expat=  no
 .  else
 USE_BUILTIN.expat=     ${IS_BUILTIN.expat}
 .    if defined(BUILTIN_PKG.expat) && \
-        !empty(IS_BUILTIN.expat:M[yY][eE][sS])
+        ${IS_BUILTIN.expat:M[yY][eE][sS]}
 USE_BUILTIN.expat=     yes
 .      for _dep_ in ${BUILDLINK_API_DEPENDS.expat}
-.        if !empty(USE_BUILTIN.expat:M[yY][eE][sS])
+.        if ${USE_BUILTIN.expat:M[yY][eE][sS]}
 USE_BUILTIN.expat!=                                                    \
        if ${PKG_ADMIN} pmatch ${_dep_:Q} ${BUILTIN_PKG.expat:Q}; then  \
                ${ECHO} yes;                                            \
@@ -69,9 +69,9 @@ MAKEVARS+=            USE_BUILTIN.expat
 ### solely to determine whether a built-in implementation exists.
 ###
 CHECK_BUILTIN.expat?=  no
-.if !empty(CHECK_BUILTIN.expat:M[nN][oO])
+.if ${CHECK_BUILTIN.expat:M[nN][oO]}
 
-.  if !empty(USE_BUILTIN.expat:M[nN][oO])
+.  if ${USE_BUILTIN.expat:M[nN][oO]}
 BUILDLINK_API_DEPENDS.expat+=  expat>=1.95.4
 .  else
 .    if !empty(H_EXPAT:M${X11BASE}/*)
@@ -87,7 +87,7 @@ BUILDLINK_PREFIX.expat=       /boot/common
 
 # Fake pkg-config for builtin expat on NetBSD
 
-.if !empty(USE_BUILTIN.expat:M[yY][eE][sS])
+.if ${USE_BUILTIN.expat:M[yY][eE][sS]}
 .  if !empty(USE_TOOLS:C/:.*//:Mpkg-config)
 do-configure-pre-hook: override-expat-pkgconfig
 



Home | Main Index | Thread Index | Old Index