summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-20 01:36:17 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-20 01:36:17 +0000
commit6787f1ad5775c6b52a46b511e759583bce48db49 (patch)
tree3729336dc272887fa4739c3be2ebc4a18d527ed5 /print
parent0cff5fc01eb40c865f6a119b8bb9b9f7a154a5d9 (diff)
downloadpkgsrc-6787f1ad5775c6b52a46b511e759583bce48db49.tar.gz
Query teTeX1-bin for WRKSRC, don't make (incorrect) assumptions about
the location. Specify -DANSI as well to avoid definitions e.g. of sprintf, which GCC 3.4+ doesn't like.
Diffstat (limited to 'print')
-rw-r--r--print/texfamily/Makefile9
-rw-r--r--print/texfamily/distinfo4
-rw-r--r--print/texfamily/patches/patch-ae4
3 files changed, 11 insertions, 6 deletions
diff --git a/print/texfamily/Makefile b/print/texfamily/Makefile
index dc6ea6a6f3c..22608483491 100644
--- a/print/texfamily/Makefile
+++ b/print/texfamily/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2006/01/15 19:28:32 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2006/01/20 01:36:17 joerg Exp $
DISTNAME= TeXfamily-1.2.1
PKGREVISION= 5
@@ -31,7 +31,12 @@ COMMENT= TeXfamily (pTeX, JTeX, MuLTeX) - executables
DEPENDS+= TeXfamily-share>=1.2.1nb3:../../print/texfamily-share
DIST_SUBDIR= TeXfamily
-TETEX_DIR= ${PKGSRCDIR}/print/teTeX1-bin/${WRKDIR:T}/teTeX-1.0
+
+PKGSRCDIR.teTeX1= ${.CURDIR}/../../print/teTeX1-bin
+WRKSRC.teTeX1_cmd= \
+ cd ${PKGSRCDIR.teTeX1} && ${MAKE} show-var VARNAME=WRKSRC
+
+TETEX_DIR= ${WRKSRC.teTeX1_cmd:sh}
WRKSRC= ${TETEX_DIR}
EXTRACT_ONLY= # none
diff --git a/print/texfamily/distinfo b/print/texfamily/distinfo
index 37756e8ffef..1cff2115af4 100644
--- a/print/texfamily/distinfo
+++ b/print/texfamily/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 12:51:45 agc Exp $
+$NetBSD: distinfo,v 1.4 2006/01/20 01:36:17 joerg Exp $
SHA1 (TeXfamily/texfam-1.2.tar.gz) = 510ef7048c1353a75d84d548738e8e2a94d83be9
RMD160 (TeXfamily/texfam-1.2.tar.gz) = 951aebdcf9e5d77e82b2bfb3ba5c8067e0bf8555
@@ -37,7 +37,7 @@ SHA1 (patch-aa) = 03e327921d44ffb12f6ce8547553935fb0273f1c
SHA1 (patch-ab) = c6c2ed23121e14e9e123bfb6298743cfbd34f959
SHA1 (patch-ac) = eeb266e3fc5a6b646ffc498c08107a9dd76c6660
SHA1 (patch-ad) = 3292baba0f31f191c13a12dd3cd39e8bd2e091f7
-SHA1 (patch-ae) = 644182534b6001d167b45b25378c33873563ef61
+SHA1 (patch-ae) = 3b69db73f45e8cc2742769c40707d2d34ce7ecca
SHA1 (patch-af) = 999a897d77004503253e7f443e9108d969a4ad11
SHA1 (patch-ag) = fcd691409227e6025ffc52c23df5a82ab23bf0c3
SHA1 (patch-ah) = 08b0d94c7347693da7fe024eb0ab81916a598529
diff --git a/print/texfamily/patches/patch-ae b/print/texfamily/patches/patch-ae
index 4a28381fa9e..d75e05a3c70 100644
--- a/print/texfamily/patches/patch-ae
+++ b/print/texfamily/patches/patch-ae
@@ -1,4 +1,4 @@
-$NetBSD: patch-ae,v 1.1.1.1 2002/05/31 12:59:56 seb Exp $
+$NetBSD: patch-ae,v 1.2 2006/01/20 01:36:18 joerg Exp $
--- texk/dvi2ps-3.2j/Makefile.orig Mon Sep 11 18:16:11 2000
+++ texk/dvi2ps-3.2j/Makefile
@@ -44,7 +44,7 @@ $NetBSD: patch-ae,v 1.1.1.1 2002/05/31 12:59:56 seb Exp $
+#CC=gcc
#
-CCFLAGS = -g -O -DPOSIX
-+CCFLAGS = -O2 -DPOSIX
++CCFLAGS = -O2 -DPOSIX -DANSI
#CCFLAGS = -O # SUNOS 4.X etc ...
#CCFLAGS = -O -DPOSIX # NetBSD FreeBSD (gcc 2.X), Linux
#CCFLAGS = -O -DMSDOS -DPOSIX # DJGCC (gcc 2.X)