summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authoragc <agc>1998-05-08 16:20:43 +0000
committeragc <agc>1998-05-08 16:20:43 +0000
commitc1f524183ce789dd69b82f7d9bcdd4d43ddd5511 (patch)
treee6b7ae040d9b28992e9e617cd19ccf5737b287de /print
parent06cd865805f5aa41b3f0df221c8ced29982ddcbc (diff)
downloadpkgsrc-c1f524183ce789dd69b82f7d9bcdd4d43ddd5511.tar.gz
The user should not have to set PAPERSIZE in either the environment or
/etc/mk.conf - so add a suitable default accordingly. This is only used if PAPERSIZE is NOT specified in environment or /etc/mk.conf
Diffstat (limited to 'print')
-rw-r--r--print/a2ps/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/print/a2ps/Makefile b/print/a2ps/Makefile
index cfeaa0b78b7..cf837cfb7e4 100644
--- a/print/a2ps/Makefile
+++ b/print/a2ps/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 1998/04/20 11:56:32 frueauf Exp $
+# $NetBSD: Makefile,v 1.9 1998/05/08 16:20:43 agc Exp $
# FreeBSD Id: Makefile,v 1.12 1998/02/15 21:24:42 steve Exp
#
@@ -18,6 +18,8 @@ CONFIGURE_ENV+= LPR=lpr
ALL_TARGET= all PAPERSIZE=${PAPERSIZE}
+PAPERSIZE?= A4
+
pre-build:
${TOUCH} ${WRKSRC}/doc/*.info
${TOUCH} ${WRKSRC}/doc/*.dvi
@@ -27,10 +29,6 @@ pre-configure:
XA4|XLetter|XLetterdj) \
goodsize=yes; \
;; \
- X"") \
- goodsize=no; \
- ${ECHO} "PAPERSIZE not specified."; \
- ;; \
*) \
goodsize=no; \
${ECHO} "PAPERSIZE incorrect value: ${PAPERSIZE}."; \