libXft: pkglint cleanup

This commit is contained in:
wiz 2022-11-16 11:56:15 +00:00
parent 28801e7374
commit 0a7e76cac9

View file

@ -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 @@ MAKEVARS+= IS_BUILTIN.libXft
### 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 @@ USE_BUILTIN.libXft= no
. 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 @@ MAKEVARS+= USE_BUILTIN.libXft
.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