Subject: Re: pkgsrc cross-references (was Re: teTeX3-bin dependency on motif?)
To: Jeremy C. Reed <reed@reedmedia.net>
From: Geert Hendrickx <geert.hendrickx@ua.ac.be>
List: tech-pkg
Date: 06/07/2005 19:19:23
--2oS5YaxWCcQjTEyO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Tue, Jun 07, 2005 at 10:04:56AM -0700, Jeremy C. Reed wrote:
> On Tue, 7 Jun 2005, Geert Hendrickx wrote:
> 
> > Shouldn't the second line in this fragment:
> >
> > BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
> > DEPENDS+=       teTeX-texmf>=3.0:../teTeX3-texmf
> > DEPENDS+=       dialog-0.6z*:../../misc/dialog
> >
> > refer to ../../print/teTeX3-texmf for consistency?
> >
> > I usually test work-in-progress stuff in my "own" pkgsrc category and
> > then this link doesn't work.  e.g. multimedia/mplayer does this right by
> > refering to ../../multimedia/mplayer-share.
> 
> Sounds good to me to use category directory also.
> 
>  Jeremy C. Reed

Here's a diff to fix it.  

Maybe the entire pkgsrc tree should be scanned for ':\.\./[^.]'
occurences?  

GH

-- 
:wq

--2oS5YaxWCcQjTEyO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="Makefile.diff"

--- print/teTeX3-bin/Makefile.orig	2005-06-07 15:40:31.000000000 +0200
+++ print/teTeX3-bin/Makefile	2005-06-07 19:15:01.000000000 +0200
@@ -11,7 +11,7 @@
 COMMENT=	TeX distribution for UNIX compatible systems - binaries
 
 BUILD_DEPENDS+=	bison-[0-9]*:../../devel/bison
-DEPENDS+=	teTeX-texmf>=3.0:../teTeX3-texmf
+DEPENDS+=	teTeX-texmf>=3.0:../../print/teTeX3-texmf
 DEPENDS+=	dialog-0.6z*:../../misc/dialog
 
 # games/omega previously installed an omega executable too

--2oS5YaxWCcQjTEyO--