pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/teTeX-bin fixes for Darwin. PR 20514
details: https://anonhg.NetBSD.org/pkgsrc/rev/84bdf9db650f
branches: trunk
changeset: 462702:84bdf9db650f
user: danw <danw%pkgsrc.org@localhost>
date: Fri Oct 10 01:11:20 2003 +0000
description:
fixes for Darwin. PR 20514
diffstat:
print/teTeX-bin/Makefile | 15 ++++++++++++++-
print/teTeX-bin/distinfo | 4 ++--
print/teTeX-bin/patches/patch-aa | 6 +++---
3 files changed, 19 insertions(+), 6 deletions(-)
diffs (77 lines):
diff -r 09f59671b764 -r 84bdf9db650f print/teTeX-bin/Makefile
--- a/print/teTeX-bin/Makefile Thu Oct 09 22:14:13 2003 +0000
+++ b/print/teTeX-bin/Makefile Fri Oct 10 01:11:20 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2003/08/09 11:20:37 seb Exp $
+# $NetBSD: Makefile,v 1.47 2003/10/10 01:11:20 danw Exp $
DISTNAME= teTeX-src-1.0.7
PKGNAME= teTeX-bin-1.0.7
@@ -32,6 +32,14 @@
INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
GNU_CONFIGURE= yes
+CONFIG_GUESS_OVERRIDE= ${WRKSRC}/texk/config.guess
+CONFIG_GUESS_OVERRIDE+= ${WRKSRC}/config/config.guess
+CONFIG_GUESS_OVERRIDE+= ${WRKSRC}/libs/ncurses/config.guess
+CONFIG_GUESS_OVERRIDE+= ${WRKSRC}/texinfo/config.guess
+CONFIG_SUB_OVERRIDE= ${WRKSRC}/texk/config.sub
+CONFIG_SUB_OVERRIDE+= ${WRKSRC}/config/config.sub
+CONFIG_SUB_OVERRIDE+= ${WRKSRC}/libs/ncurses/config.sub
+CONFIG_SUB_OVERRIDE+= ${WRKSRC}/texinfo/config.sub
CONFIGURE_ARGS+= --without-texinfo
CONFIGURE_ARGS+= --without-dialog
CONFIGURE_ARGS+= --disable-multiplatform
@@ -63,6 +71,11 @@
CONFIGURE_ARGS+= --enable-auto-core
.endif
+.if ${OPSYS} == "Darwin" && ${OS_VERSION} >= 6.0
+# Darwin 6.x's default (3.1ish) g++ has a bug that breaks the xpdf build
+CXX= g++2
+.endif
+
CONFIGURE_ENV+= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
INSTALL_DATA="${INSTALL_DATA}"
diff -r 09f59671b764 -r 84bdf9db650f print/teTeX-bin/distinfo
--- a/print/teTeX-bin/distinfo Thu Oct 09 22:14:13 2003 +0000
+++ b/print/teTeX-bin/distinfo Fri Oct 10 01:11:20 2003 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.2 2001/04/20 12:41:53 agc Exp $
+$NetBSD: distinfo,v 1.3 2003/10/10 01:11:20 danw Exp $
SHA1 (teTeX/teTeX-src-1.0.7.tar.gz) = ce6ff8a3bffe1fcb04349ad9dd0300e3f410d826
Size (teTeX/teTeX-src-1.0.7.tar.gz) = 8040192 bytes
-SHA1 (patch-aa) = 3f027e2e7c9056bf77b6b537242cc0c584f2c1d7
+SHA1 (patch-aa) = 513d1f17c0877394919679ad8064f12345064f04
SHA1 (patch-ab) = 535bd62875a5fab3fd62a356a51a3467a3865f06
SHA1 (patch-ac) = e26e5696af3887e1a81bc106e0a5a30ddecdc77e
SHA1 (patch-ad) = dbe002d474d8bdf9ffc7533b61e774be295f479d
diff -r 09f59671b764 -r 84bdf9db650f print/teTeX-bin/patches/patch-aa
--- a/print/teTeX-bin/patches/patch-aa Thu Oct 09 22:14:13 2003 +0000
+++ b/print/teTeX-bin/patches/patch-aa Fri Oct 10 01:11:20 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 1999/08/03 13:54:56 hubertf Exp $
+$NetBSD: patch-aa,v 1.2 2003/10/10 01:11:20 danw Exp $
Note that POSIX uses SIGCHLD ...! - HF
@@ -8,7 +8,7 @@
fatal (setmode, setmode (cs_pipe[1], O_BINARY) == -1);
#endif
-+#ifdef __NetBSD__
++#ifndef SIGCLD
+ old = signal (SIGCHLD, child_died);
+#else
old = signal (SIGCLD, child_died);
@@ -20,7 +20,7 @@
fatal (close, close (sc_pipe[1]) == -1);
fatal (close, close (cs_pipe[0]) == -1);
fatal (close, close (cs_pipe[1]) == -1);
-+#ifdef __NetBSD__
++#ifndef SIGCLD
+ fatal (signal, signal (SIGCHLD, old) == SIG_ERR);
+#else
fatal (signal, signal (SIGCLD, old) == SIG_ERR);
Home |
Main Index |
Thread Index |
Old Index