pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/libXft libXft: pkglint cleanup



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d7bcb80e1de7
branches:  trunk
changeset: 388294:d7bcb80e1de7
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Nov 16 11:56:15 2022 +0000

description:
libXft: pkglint cleanup

diffstat:

 x11/libXft/builtin.mk |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (43 lines):

diff -r 5a38f3f1971e -r d7bcb80e1de7 x11/libXft/builtin.mk
--- a/x11/libXft/builtin.mk     Wed Nov 16 11:55:53 2022 +0000
+++ b/x11/libXft/builtin.mk     Wed Nov 16 11:56:15 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.4 2021/08/02 10:47:05 wiz Exp $
+# $NetBSD: builtin.mk,v 1.5 2022/11/16 11:56:15 wiz Exp $
 
 BUILTIN_PKG:=  libXft
 
@@ -25,7 +25,7 @@
 ### a package name to represent the built-in package.
 ###
 .if !defined(BUILTIN_PKG.libXft) && \
-    !empty(IS_BUILTIN.libXft:M[yY][eE][sS]) && \
+    ${IS_BUILTIN.libXft:M[yY][eE][sS]} && \
     empty(H_XFT2:M__nonexistent__)
 #
 # Extract the version number from the header file, but if it's not
@@ -53,10 +53,10 @@
 .  else
 USE_BUILTIN.libXft=    ${IS_BUILTIN.libXft}
 .    if defined(BUILTIN_PKG.libXft) && \
-        !empty(IS_BUILTIN.libXft:M[yY][eE][sS])
+        ${IS_BUILTIN.libXft:M[yY][eE][sS]}
 USE_BUILTIN.libXft=    yes
 .      for _dep_ in ${BUILDLINK_API_DEPENDS.libXft}
-.        if !empty(USE_BUILTIN.libXft:M[yY][eE][sS])
+.        if ${USE_BUILTIN.libXft:M[yY][eE][sS]}
 USE_BUILTIN.libXft!=                                                   \
        if ${PKG_ADMIN} pmatch ${_dep_:Q} ${BUILTIN_PKG.libXft:Q}; then \
                ${ECHO} yes;                                            \
@@ -78,9 +78,9 @@
 .include "../../mk/x11.builtin.mk"
 
 CHECK_BUILTIN.libXft?= no
-.if !empty(CHECK_BUILTIN.libXft:M[nN][oO])
+.if ${CHECK_BUILTIN.libXft:M[nN][oO]}
 
-.  if !empty(USE_BUILTIN.libXft:M[nN][oO])
+.  if ${USE_BUILTIN.libXft:M[nN][oO]}
 BUILDLINK_API_DEPENDS.libXft+= libXft>=2.1.10
 .  endif
 



Home | Main Index | Thread Index | Old Index