diff options
author | hubertf <hubertf@pkgsrc.org> | 2000-01-11 19:31:00 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2000-01-11 19:31:00 +0000 |
commit | 098a610138b379b523a2af4e9fadc06d04e33fc7 (patch) | |
tree | 10496783329d47c1da4839b3f3d60a3d44b18c5c /print | |
parent | c1caa86ba9d190e6377d04fac93b0eb498b2511c (diff) | |
download | pkgsrc-098a610138b379b523a2af4e9fadc06d04e33fc7.tar.gz |
Correctly recognize $PAPERSIZE, and add the appropriate configure
switch.
Patch sent in in PR 9168 by Jim Bernard <jbernard@mines.edu>
Diffstat (limited to 'print')
-rw-r--r-- | print/enscript/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/print/enscript/Makefile b/print/enscript/Makefile index 49ccf48fe59..3560f0e1102 100644 --- a/print/enscript/Makefile +++ b/print/enscript/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 1999/09/05 18:37:48 kim Exp $ +# $NetBSD: Makefile,v 1.17 2000/01/11 19:31:00 hubertf Exp $ # FreeBSD Id: Makefile,v 1.4 1997/11/27 08:10:30 tg Exp # @@ -12,5 +12,9 @@ HOMEPAGE= http://www.ngs.fi/mtr/genscript/ DEPENDS+= papersize-*:../../print/papersize GNU_CONFIGURE= yes +.include "../../mk/bsd.prefs.mk" +.if defined(PAPERSIZE) +CONFIGURE_ARGS+=--with-media="${PAPERSIZE}" +.endif .include "../../mk/bsd.pkg.mk" |