diff options
author | hubertf <hubertf> | 2000-01-11 19:31:00 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2000-01-11 19:31:00 +0000 |
commit | 9d9efa33b6dcdf759c302ea47ea884d5609a7f3c (patch) | |
tree | 10496783329d47c1da4839b3f3d60a3d44b18c5c /print/enscript/Makefile | |
parent | 39634f85e8fadf9b3e67356e2cf200b7f00dadd3 (diff) | |
download | pkgsrc-9d9efa33b6dcdf759c302ea47ea884d5609a7f3c.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/Makefile')
-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" |