pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/print/hplip
Module Name: pkgsrc
Committed By: gutteridge
Date: Tue Mar 8 22:55:41 UTC 2022
Modified Files:
pkgsrc/print/hplip: Makefile
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 pkgsrc/print/hplip/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/print/hplip/Makefile
diff -u pkgsrc/print/hplip/Makefile:1.98 pkgsrc/print/hplip/Makefile:1.99
--- pkgsrc/print/hplip/Makefile:1.98 Wed Dec 8 16:06:13 2021
+++ pkgsrc/print/hplip/Makefile Tue Mar 8 22:55:41 2022
@@ -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/sh
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.
Home |
Main Index |
Thread Index |
Old Index