diff options
author | gutteridge <gutteridge@pkgsrc.org> | 2022-03-08 22:55:41 +0000 |
---|---|---|
committer | gutteridge <gutteridge@pkgsrc.org> | 2022-03-08 22:55:41 +0000 |
commit | 73c49fa9e6d5a8de161165aa9508e410b050d0d6 (patch) | |
tree | 1cdb9491caf3ca22646c35e285111a3fe93500f6 | |
parent | aa13fe35da3c3fb40bbc79299806da6e4f5b1ff8 (diff) | |
download | pkgsrc-73c49fa9e6d5a8de161165aa9508e410b050d0d6.tar.gz |
hplip: adjust a test condition for older NetBSD (NFC)
Avoid the upper limit of 9.x, since 10.x will be branched soon and, as
a bonus, simplify the statement.
-rw-r--r-- | print/hplip/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print/hplip/Makefile b/print/hplip/Makefile index 47b36c189fc..6fbd56346f0 100644 --- a/print/hplip/Makefile +++ b/print/hplip/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.98 2021/12/08 16:06:13 adam Exp $ +# $NetBSD: Makefile,v 1.99 2022/03/08 22:55:41 gutteridge Exp $ DISTNAME= hplip-3.19.12 PKGREVISION= 13 @@ -152,7 +152,7 @@ SUBST_SED.fix-paths-6= -e 's,"-I/usr/share/cups/fonts","-I${PREFIX}/share/cups/ SUBST_SED.fix-paths-6+= -e 's,"/usr/bin/gs","${PREFIX}/bin/gs",g' # NetBSD has strnlen(3) since 5.99.12 -.if ${OPSYS} == "NetBSD" && empty(OS_VERSION:M5.99.*) && empty(OS_VERSION:M[6-9].*) +.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 059912 SUBST_CLASSES+= fix-strnlen SUBST_STAGE.fix-strnlen= post-configure SUBST_MESSAGE.fix-strnlen= Replacing strnlen() with strlen() in two C++ files. |