diff options
author | hubertf <hubertf@pkgsrc.org> | 2000-01-02 01:32:30 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2000-01-02 01:32:30 +0000 |
commit | 08d63e0f1f42682f21d090a9101ba042cecedfaf (patch) | |
tree | 9e1587d9dcaa50589b5bc52dabef1ef68e1d3671 /print/teTeX-bin/Makefile | |
parent | bd02ccfcfe874b869b08b3718464a65d9ef5a1d3 (diff) | |
download | pkgsrc-08d63e0f1f42682f21d090a9101ba042cecedfaf.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/teTeX-bin/Makefile')
-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}" \ |