summaryrefslogtreecommitdiff
path: root/print/enscript
diff options
context:
space:
mode:
authorhubertf <hubertf>2000-01-11 19:31:00 +0000
committerhubertf <hubertf>2000-01-11 19:31:00 +0000
commit95176984c2d5a41efd4bf474feff214df6aad5e8 (patch)
tree10496783329d47c1da4839b3f3d60a3d44b18c5c /print/enscript
parent2606fa9ff1f82795dc225ef509f0ace59f3b7a6d (diff)
downloadpkgsrc-95176984c2d5a41efd4bf474feff214df6aad5e8.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/enscript')
-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"