summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbouyer <bouyer>2000-01-04 18:53:33 +0000
committerbouyer <bouyer>2000-01-04 18:53:33 +0000
commit288f448de6e1857b8e21ae65d098d195b8e2961b (patch)
treee92bbea00aef0885c7fe119496940d85a6304aa5
parente68ee0045a825a2fd72bdd3fec7b0d194d06c872 (diff)
downloadpkgsrc-288f448de6e1857b8e21ae65d098d195b8e2961b.tar.gz
works on solaris
-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}"