summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorhubertf <hubertf>2000-01-02 01:32:30 +0000
committerhubertf <hubertf>2000-01-02 01:32:30 +0000
commit75b149d5152fa86410b1c74fb6f4cf65aea2ade9 (patch)
tree9e1587d9dcaa50589b5bc52dabef1ef68e1d3671 /print
parent97bbb923803c0f4aa87b3e810dc64f15b8d5dff5 (diff)
downloadpkgsrc-75b149d5152fa86410b1c74fb6f4cf65aea2ade9.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/Makefile7
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}" \