pkgsrc-Users archive

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

Re: Build fails: "sane-backends" on netbsd-8/amd64



On Sat, 31 Mar 2018, John D. Baker wrote:

> On Fri, 30 Mar 2018, John D. Baker wrote:
> 
> > "graphics/sane-backends/Makefile.common" sets:
> > 
> >   CONFIGURE_ENV+=         ac_cv_path_LATEX="no"
> > 
> > presumedly to tell "sane-backends" to not produce LaTeX documentation,
> > but it seems the mechanism has changed and it is taking the path literally
> > instead of a hint to not produce LaTeX documentation.

While the above was sufficient in the previous version, this is no longer
the case with v1.0.27.  The "sane.ind:" target in "${WRKSRC}doc/Makefile"
expects to run $(LATEX) first, then run $(MAKEINDEX) on it, thus the
failure.

Forcing MAKEINDEX to "no" with:

  CONFIGURE_ENV+=         ac_cv_path_MAKEINDEX="no"

makes it work.  The various options for building API_SPEC documentation
all presume some subset of TeX tools available.  The value of MAKEINDEX
is the only thing that is common to all decision branches.

I just completed a test build with the above variable set in
"sane-backends/Makefile.common" and the build succeeded.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index