FLAVOR for Qt4 and Qt5 (was Re: Flavor or not for this port?)

Rainer Hurling rhurlin at gwdg.de
Fri Jan 5 08:23:01 UTC 2018


Hi Loïc,

Am 04.01.2018 um 18:37 schrieb L.Bartoletti:
> Hi Mathieu,
> 
> Thank you for your review and tips.
> 
> I have just submitted the patch.
> 
> Rainer, QGis 2 may be able to use Qwt6 instead of Qwt5?

I just tried to use Qwt6 with QGIS2 and it seems to work. A few small
tests showed no regressions, so far.

If this is true, I could change my port to use qwt6 at qt4, once flavors
for QWT hit the ports tree.

Thanks to both, Loïc and Mathieu, for the work on this.

Best wishes,
Rainer


> 
> Regards.
> 
> Loïc
> 
> On 21.12.2017 17:10, Mathieu Arnold wrote:
>> Le 19/12/2017 à 20:48, L.Bartoletti a écrit :
>>> Hi,
>>>
>>> Here's my WIP
>>>
>>> https://gitlab.com/lbartoletti/freebsd_ports/tree/master/qwt6
>> As long as you are defining a default FLAVOR value, do it right:
>>
>> FLAVOR?= ${FLAVORS:[1]}
>>
>> There are a few stuffs that could be simplified, this works for both
>> flavors:|
>>
>> |
>>
>> |PLIST=    ${PKGDIR}/pkg-plist.${FLAVOR} PLIST_SUB+=
>> QT_MKSPECDIR=lib/${FLAVOR}/mkspecs DOCSDIR=
>> ${PREFIX}/share/doc/qwt6-${FLAVOR} And this: ||@${REINPLACE_CMD} -e
>> 's/__QT_VERSION__/${FLAVOR:S/qt//}/g'
>> ${WRKSRC}/qwtconfig.pri|
>> ||
>>
>>
>>
>> You are missing:
>>
>> qt4_CONFLICTS_INSTALL= qwt6-qt5
>> qt5_CONFLICTS_INSTALL= qwt6-qt4
>>
>>
>>
> 



More information about the freebsd-ports mailing list