pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: proto package for BibTool



On Sun, 19 Mar 2006 17:25:34 +0100, Thomas Klausner <wiz%NetBSD.org@localhost>
wrote:

> On Sun, Mar 19, 2006 at 11:06:49AM -0500, Steven M. Bellovin wrote:
> > > Include mk/tex.buildlink3.mk. See the top of that file for some
> > > variables you can set. You probably want to set TEX_DEPMETHOD
> > > to build.
> > 
> > Is that TEX_DEPMETHOD or BUILDLINK_DEPMETHOD?  The latter is what's
> > listed in pkgsrc.tex.
> 
> Usually, you want BUILDLINK_DEPMETHOD.foo, but TeX is a special case,
> so it's TEX_DEPMETHOD.

Thanks.
> 
> > > You can set CONFIGURE_DIRS to the directories in which you want
> > > to run configure.
> > > It's up to you to decide if you want to install it -- try it out, and
> > > if it's doing something useful, you might as well install it. If not,
> > > just don't, we can always add it later.
> > 
> > I'll have to think about this one a bit.  The main directory uses
> > 'makefile'; the subdirectory uses Makefile.  I can't set MAKEFILE to
> > make both happy.
> 
> Perhaps try adding the following to the package's Makefile:
> 
> post-extract:
>       ${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile
> 
Yes, I did something similar, plus patches to configure and
configure.in.  I used pre-configure, though.  The question may be moot
-- that subdirectory doesn't seem to build at all anyway...

                --Steven M. Bellovin, http://www.cs.columbia.edu/~smb



Home | Main Index | Thread Index | Old Index