Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Jun 2016 20:42:22 +0200
From:      Ralf Nolden <nolden@kde.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: [Bug 210110] cad/qcad remove wrongly used PLIST_SUB from pkg-plist
Message-ID:  <1594280.UjEWlzHLqn@w530.nolden.freebsd>
In-Reply-To: <65c89765-dce0-3ab8-52bb-8000fee36b97@utanet.at>
References:  <bug-210110-543-TkgJHWlDP1@https.bugs.freebsd.org/bugzilla/> <65c89765-dce0-3ab8-52bb-8000fee36b97@utanet.at>

next in thread | previous in thread | raw e-mail | index | archive | help
Am Donnerstag, 9. Juni 2016, 18:05:15 schrieb Walter Schwarzenfeld:
> No.. you can't avoid it this way. It changes pkg-=FClist after makepl=
ist
> makes it.
> The replacement is only for you, if you want it..
> (You can change it to
>=20
> do-install:
>           if [ $$(grep -c '%%QT_BINDIR%%' ${PORTSDIR}/cad/qcad/pkg-pl=
ist)
> -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)
>=20
>=20
> 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 i=
n
> 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 hap=
pens=20
and remembered that qcad is a qt4 app where the commandline programs (b=
indir)=20
is set to LOCALBASE/bin by default (and then you get the ominous QT_BIN=
DIR in=20
your pkg-plist). Tobias Berner is changing that to install them to=20
LOCALBASE/lib/qt4/bin like we have with qt5 and then we use qtchooser t=
o=20
switch between those two environments.

So, you may change that now but it will be obsolete with importing  qt-=
5.7 at=20
latest (or sooner if that makes some sense to us).

Before though we have to make sure all ports use qtchooser for building=
 and=20
that they work, so qcad will be tested anyway.

BTW if a qt5 build makes sense and works (didn't check that, but it sho=
uld) -=20
I would recommend switching to Qt5 anyway. You could also change the po=
rt to=20
qcad-qt4 and/or add a qcad-qt5 port. I did some testing and the only re=
al=20
problems I had was the quazip library that needs to be built against qt=
5 too=20
(which works - however, upstream changed the library name IIRC, so you =
may=20
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.o=
rg"

--=20
Kind regards,

Ralf Nolden




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