summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2000-01-04 18:53:33 +0000
committerbouyer <bouyer@pkgsrc.org>2000-01-04 18:53:33 +0000
commit6dd65f597fe7273bf041c47febaeb35fe4395258 (patch)
treee92bbea00aef0885c7fe119496940d85a6304aa5 /print
parent44356574d9d77968eb7a436495e1885f26fe6152 (diff)
downloadpkgsrc-6dd65f597fe7273bf041c47febaeb35fe4395258.tar.gz
works on solaris
Diffstat (limited to 'print')
-rw-r--r--print/teTeX-bin/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/print/teTeX-bin/Makefile b/print/teTeX-bin/Makefile
index 1b89961c0b5..0bb657bc2b8 100644
--- a/print/teTeX-bin/Makefile
+++ b/print/teTeX-bin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2000/01/02 01:32:30 hubertf Exp $
+# $NetBSD: Makefile,v 1.10 2000/01/04 18:53:33 bouyer Exp $
# FreeBSD Id: Makefile,v 1.20 1997/08/05 06:56:41 tg Exp
#
@@ -28,7 +28,6 @@ CONFIGURE_ARGS+=--without-texinfo \
--without-dialog \
--disable-multiplatform \
--enable-ipc \
- --enable-auto-core \
--with-epsfwin \
--with-hp2627win \
--with-mftalkwin \
@@ -40,14 +39,21 @@ CONFIGURE_ARGS+=--without-texinfo \
--with-system-pnglib \
--with-pnglib-libdir=${LOCALBASE}/lib \
--with-pnglib-include=${LOCALBASE}/include \
- --with-system-zlib \
- --with-zlib-libdir=/usr/lib \
- --with-zlib-include=/usr/include
+ --with-system-zlib
.include "../../mk/bsd.prefs.mk"
.if defined(PAPERSIZE) && ${PAPERSIZE} == "A4"
CONFIGURE_ARGS+=--enable-a4
.endif
+.if ${OPSYS} != "SunOS"
+CONFIGURE_ARGS+=--enable-auto-core \
+ --with-zlib-libdir=/usr/lib \
+ --with-zlib-include=/usr/include
+.else
+CONFIGURE_ARGS+= --with-zlib-libdir=${LOCALBASE}/lib \
+ --with-zlib-include=${LOCALBASE}/include
+.endif
+
CONFIGURE_ENV+= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
INSTALL_DATA="${INSTALL_DATA}"