pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/psutils psutils: allow PAPERSIZE=a4, used lowerc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e3e8ff047e9c
branches:  trunk
changeset: 449664:e3e8ff047e9c
user:      thor <thor%pkgsrc.org@localhost>
date:      Sat Apr 03 11:37:44 2021 +0000

description:
psutils: allow PAPERSIZE=a4, used lowercase anyway!

diffstat:

 print/psutils/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e1b5cd29a172 -r e3e8ff047e9c print/psutils/Makefile
--- a/print/psutils/Makefile    Sat Apr 03 11:30:21 2021 +0000
+++ b/print/psutils/Makefile    Sat Apr 03 11:37:44 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2020/08/31 18:11:03 wiz Exp $
+# $NetBSD: Makefile,v 1.50 2021/04/03 11:37:44 thor Exp $
 
 DISTNAME=      psutils-p17
 PKGNAME=       psutils-1.17
@@ -19,7 +19,7 @@
 .if !defined(PAPERSIZE)
 PKG_FAIL_REASON+=      "PAPERSIZE must be defined by the pkgsrc user."
 .else
-.  if ${PAPERSIZE} != "A4" && ${PAPERSIZE} != "Letter"
+.  if ${PAPERSIZE} != "A4" && ${PAPERSIZE} != "a4" && ${PAPERSIZE} != "Letter"
 PKG_FAIL_REASON+=      "Invalid PAPERSIZE (${PAPERSIZE}). Choose one of A4 or Letter."
 .  endif
 .endif



Home | Main Index | Thread Index | Old Index