Date: Thu, 4 Jan 2018 18:37:15 +0100 From: "L.Bartoletti" <lbartoletti@tuxfamily.org> To: Mathieu Arnold <mat@FreeBSD.org>, Rainer Hurling <rhurlin@gwdg.de> Cc: freebsd-ports@freebsd.org Subject: Re: FLAVOR for Qt4 and Qt5 (was Re: Flavor or not for this port?) Message-ID: <0e444e02-fc35-cfa8-ec36-5d8bbb420124@tuxfamily.org> In-Reply-To: <778b4f63-48c7-c717-6c9b-f3ca35c5232c@FreeBSD.org> References: <a181e71d-fdd0-7807-f129-29711c3ee8b5@tuxfamily.org> <46cbd287-186f-9b92-f2a7-d6884c681040@gwdg.de> <37d007c1-0315-5b23-7357-5dc3fcb836fc@gwdg.de> <92d09009-64b3-695a-2282-5acb6ab169f0@tuxfamily.org> <ab612938-9ab0-85f1-eec3-186ff37a719f@tuxfamily.org> <778b4f63-48c7-c717-6c9b-f3ca35c5232c@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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? 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 > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0e444e02-fc35-cfa8-ec36-5d8bbb420124>