summaryrefslogtreecommitdiff
path: root/print/texfamily/Makefile
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
commit344db4d0634ce72a3813f294c703ffa654962146 (patch)
tree3729336dc272887fa4739c3be2ebc4a18d527ed5 /print/texfamily/Makefile
parent26763ef3ab9c277573a0f9b38ec5f44e0c9b2238 (diff)
downloadpkgsrc-344db4d0634ce72a3813f294c703ffa654962146.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/texfamily/Makefile')
-rw-r--r--print/texfamily/Makefile9
1 files changed, 7 insertions, 2 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