From 098a610138b379b523a2af4e9fadc06d04e33fc7 Mon Sep 17 00:00:00 2001 From: hubertf Date: Tue, 11 Jan 2000 19:31:00 +0000 Subject: Correctly recognize $PAPERSIZE, and add the appropriate configure switch. Patch sent in in PR 9168 by Jim Bernard --- print/enscript/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3