Hi,
On Fri, Jun 30, 2017 at 12:09:24PM +0100, Stuart Henderson wrote:
> > the pending update of print/poppler will require the use of a C++-11
> > capable compiler, so set COMPILER=gcc.
> >
> > Builds fine for me on amd64 (still with gcc as the default compiler
> > in base).
>
> it builds, but doesn't package:
>
> : ===> Building package for texworks-0.4.4p0v0
> : Create /mnt/packages/i386/all/texworks-0.4.4p0v0.tgz
> : LIB_DEPENDS x11/dbus not needed for editors/texworks,-main ?
> : Missing library for estdc++>=17.0
Sorry for the breakage (and I wonder how I managed to get it built
and packaged here).
> dbus is an old one (and non-fatal), the WANTLIB was dropped a long time
> ago (it accesses this via QtDBus now) so we can just drop that from
> LIB_DEPENDS-main.
>
> estdc++ is new, the simplest way to get the right values for the current
> arch is to pick up gcc (and qt)'s libs from LIB_DEPENDS, like so.
Looks fine by comparing the results of show=LIB_DEPENDS-{main,lua,python}
here. So if it fixes the packaging for you, ok of course.
Ciao,
Kili
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/editors/texworks/Makefile,v
> retrieving revision 1.33
> diff -u -p -r1.33 Makefile
> --- Makefile 28 Jun 2017 19:30:39 -0000 1.33
> +++ Makefile 30 Jun 2017 11:08:24 -0000
> @@ -55,13 +55,13 @@ MULTI_PACKAGES = -main -lua -python
>
> MASTER_SITES = ${MASTER_SITE_GOOGLECODE:=texworks/}
>
> -LIB_DEPENDS-main = qt4->=4.8.2:${MODQT4_LIB_DEPENDS} \
> +LIB_DEPENDS-main = ${LIB_DEPENDS} \
> + qt4->=4.8.2:${MODQT4_LIB_DEPENDS} \
> textproc/hunspell \
> - x11/dbus \
> print/poppler,,-qt4
> -LIB_DEPENDS-lua = ${MODQT4_LIB_DEPENDS} \
> +LIB_DEPENDS-lua = ${LIB_DEPENDS} \
> ${MODLUA_LIB_DEPENDS}
> -LIB_DEPENDS-python = ${MODQT4_LIB_DEPENDS} \
> +LIB_DEPENDS-python = ${LIB_DEPENDS} \
> ${MODPY_LIB_DEPENDS}
>
> RUN_DEPENDS-main = print/texlive/base \
No comments:
Post a Comment