diff options
author | hubertf <hubertf> | 2000-01-02 01:32:30 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2000-01-02 01:32:30 +0000 |
commit | 1187bd479df4aa9d5270e9971924bef60f5ffd08 (patch) | |
tree | 9e1587d9dcaa50589b5bc52dabef1ef68e1d3671 /print | |
parent | 787eee1998dc0e652cb5dfd5ae3caa8ed292a4af (diff) | |
download | pkgsrc-1187bd479df4aa9d5270e9971924bef60f5ffd08.tar.gz |
Recognize PAPERSIZE, and default papersize only to DIN A4 if PAPERSIZEis
set to "A4".
Fixes PR 9100 by Jim Bernard <jbernard@mines.edu>
Diffstat (limited to 'print')
-rw-r--r-- | print/teTeX-bin/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/print/teTeX-bin/Makefile b/print/teTeX-bin/Makefile index 5d0eb1270e5..1b89961c0b5 100644 --- a/print/teTeX-bin/Makefile +++ b/print/teTeX-bin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 1999/10/08 04:46:34 deberg Exp $ +# $NetBSD: Makefile,v 1.9 2000/01/02 01:32:30 hubertf Exp $ # FreeBSD Id: Makefile,v 1.20 1997/08/05 06:56:41 tg Exp # @@ -33,7 +33,6 @@ CONFIGURE_ARGS+=--without-texinfo \ --with-hp2627win \ --with-mftalkwin \ --with-x11 \ - --enable-a4 \ --with-libwww-config=${LOCALBASE}/bin/libwww-config \ --with-system-ncurses \ --with-ncurses-libdir=${LOCALBASE}/lib \ @@ -44,6 +43,10 @@ CONFIGURE_ARGS+=--without-texinfo \ --with-system-zlib \ --with-zlib-libdir=/usr/lib \ --with-zlib-include=/usr/include +.include "../../mk/bsd.prefs.mk" +.if defined(PAPERSIZE) && ${PAPERSIZE} == "A4" +CONFIGURE_ARGS+=--enable-a4 +.endif CONFIGURE_ENV+= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ |