Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Feb 2019 20:16:21 +0100
From:      "Tobias C. Berner" <tcberner@freebsd.org>
To:        =?UTF-8?Q?T=C4=B3l_Coosemans?= <tijl@freebsd.org>
Cc:        =?UTF-8?Q?Alexandre_C=2E_Guimar=C3=A3es?= <rigoletto@freebsd.org>,  ports-committers@freebsd.org, svn-ports-all@freebsd.org,  svn-ports-head@freebsd.org
Subject:   Re: svn commit: r493777 - head/graphics/mupdf
Message-ID:  <CAOshKtcz6MmtDx1Hx7CtJ3RUrkrcJ1sFf1Mh5F31A_DtVz-pGg@mail.gmail.com>
In-Reply-To: <20190224200433.7fd8713a@kalimero.tijl.coosemans.org>
References:  <201902241748.x1OHmFn9033041@repo.freebsd.org> <20190224200433.7fd8713a@kalimero.tijl.coosemans.org>

next in thread | previous in thread | raw e-mail | index | archive | help
We could do something like just adding
  -I${LOCALBASE}/include/openjpeg-2.3
... which would require remembering that line if that location ever
changes...

mfg Tobias

On Sun, 24 Feb 2019 at 20:04, T=C4=B3l Coosemans <tijl@freebsd.org> wrote:

> On Sun, 24 Feb 2019 17:48:15 +0000 (UTC) Alexandre C. Guimar=C3=A3es
> <rigoletto@FreeBSD.org> wrote:
> > Author: rigoletto
> > Date: Sun Feb 24 17:48:15 2019
> > New Revision: 493777
> > URL: https://svnweb.freebsd.org/changeset/ports/493777
> >
> > Log:
> >   graphics/mupdf: fix build when graphics/openjpeg15 is present.
> >
> >   PR:         235996
> >   Submitted by:       Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
> >   Reported by:        Marco Beishuizen <mbeis@xs4all.nl>
> >   Approved by:        tcberner (mentor)
> >
> > Modified:
> >   head/graphics/mupdf/Makefile
> >
> > Modified: head/graphics/mupdf/Makefile
> >
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> > --- head/graphics/mupdf/Makefile      Sun Feb 24 17:40:26 2019
> (r493776)
> > +++ head/graphics/mupdf/Makefile      Sun Feb 24 17:48:15 2019
> (r493777)
> > @@ -27,6 +27,9 @@ USE_GL=3D             gl glut
> >  CPE_VENDOR=3D  artifex
> >  USE_LDCONFIG=3D        yes
> >
> > +# pkg-config to avoid the conflict with openjpeg15
> > +CFLAGS+=3D     `pkg-config --cflags libopenjp2`
>
> This means pkg-config will run every time the compiler is run.  Can't
> you simply list the actual cflags here?
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOshKtcz6MmtDx1Hx7CtJ3RUrkrcJ1sFf1Mh5F31A_DtVz-pGg>