summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorbouyer <bouyer>2000-01-04 18:53:33 +0000
committerbouyer <bouyer>2000-01-04 18:53:33 +0000
commitd9994d31a1b9c0f1943afb642863827294d0e059 (patch)
treee92bbea00aef0885c7fe119496940d85a6304aa5 /print
parent719faab2e1d8e45b6ad7955a4a66a41366e6c8ec (diff)
downloadpkgsrc-d9994d31a1b9c0f1943afb642863827294d0e059.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}"