summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
Diffstat (limited to 'print')
-rw-r--r--print/enscript/Makefile6
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"