diff options
author | agc <agc@pkgsrc.org> | 1998-05-08 16:20:43 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1998-05-08 16:20:43 +0000 |
commit | 692004ef0b51311527804d3a4558b909cecb920f (patch) | |
tree | e6b7ae040d9b28992e9e617cd19ccf5737b287de /print/a2ps | |
parent | bdd81b21bd4498930248cc27397b70359165c3ce (diff) | |
download | pkgsrc-692004ef0b51311527804d3a4558b909cecb920f.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/a2ps')
-rw-r--r-- | print/a2ps/Makefile | 8 |
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}."; \ |