[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-ports
Subject:    Re: [Bug 210110] cad/qcad remove wrongly used PLIST_SUB from pkg-plist
From:       Ralf Nolden <nolden () kde ! org>
Date:       2016-06-09 18:42:22
Message-ID: 1594280.UjEWlzHLqn () w530 ! nolden ! freebsd
[Download RAW message or body]

Am Donnerstag, 9. Juni 2016, 18:05:15 schrieb Walter Schwarzenfeld:
> No.. you can't avoid it this way. It changes pkg-=FClist after makeplist
> makes it.
> The replacement is only for you, if you want it..
> (You can change it to
> =

> do-install:
>           if [ $$(grep -c '%%QT_BINDIR%%' ${PORTSDIR}/cad/qcad/pkg-plist)
> -ne 0 ]; then ${REINPLACE_CMD} '1,2s/\%\%QT_BINDIR\%\%/bin/g'
> ${PORTSDIR}/cad/qcad/pkg-plist;fi
> so it only changes the first two lines)
> =

> =

> QT_PREFIX and QT_BINDIR are defined and set in bsd.qt.mk.
> But it makes no sense. Every update you have other files and pathes in
> the pkg-plist.
> And as someone write abobe, you have always look in pkg-plist, if
> everythins is right. Neither makeplist nor genplist iare working 100%
> correct. There are always lines you have to correct per hand.
I think that problem will go away soon :)  I was wondering how that happens =

and remembered that qcad is a qt4 app where the commandline programs (bindi=
r) =

is set to LOCALBASE/bin by default (and then you get the ominous QT_BINDIR =
in =

your pkg-plist). Tobias Berner is changing that to install them to =

LOCALBASE/lib/qt4/bin like we have with qt5 and then we use qtchooser to =

switch between those two environments.

So, you may change that now but it will be obsolete with importing  qt-5.7 =
at =

latest (or sooner if that makes some sense to us).

Before though we have to make sure all ports use qtchooser for building and =

that they work, so qcad will be tested anyway.

BTW if a qt5 build makes sense and works (didn't check that, but it should)=
 - =

I would recommend switching to Qt5 anyway. You could also change the port t=
o =

qcad-qt4 and/or add a qcad-qt5 port. I did some testing and the only real =

problems I had was the quazip library that needs to be built against qt5 to=
o =

(which works - however, upstream changed the library name IIRC, so you may =

need to patch that too).


> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"

-- =

Kind regards,

Ralf Nolden

_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic