From owner-freebsd-ports@freebsd.org Thu Jan 11 12:26:31 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B63D4E5BB19 for ; Thu, 11 Jan 2018 12:26:31 +0000 (UTC) (envelope-from lbartoletti@tuxfamily.org) Received: from smtp.smtpout.orange.fr (smtp05.smtpout.orange.fr [80.12.242.127]) by mx1.freebsd.org (Postfix) with ESMTP id 5AD866D6FE for ; Thu, 11 Jan 2018 12:26:30 +0000 (UTC) (envelope-from lbartoletti@tuxfamily.org) Received: from [192.168.1.14] ([86.200.249.99]) by mwinf5d40 with ME id x0Jr1w00629RLba030JrQ2; Thu, 11 Jan 2018 13:18:52 +0100 X-ME-Helo: [192.168.1.14] X-ME-Auth: YmFydG9sZXR0aS5sb2ljQG9yYW5nZS5mcg== X-ME-Date: Thu, 11 Jan 2018 13:18:52 +0100 X-ME-IP: 86.200.249.99 Subject: Re: FLAVOR for Qt4 and Qt5 (was Re: Flavor or not for this port?) From: "L.Bartoletti" To: Mathieu Arnold , Rainer Hurling Cc: freebsd-ports@freebsd.org References: <46cbd287-186f-9b92-f2a7-d6884c681040@gwdg.de> <37d007c1-0315-5b23-7357-5dc3fcb836fc@gwdg.de> <92d09009-64b3-695a-2282-5acb6ab169f0@tuxfamily.org> <778b4f63-48c7-c717-6c9b-f3ca35c5232c@FreeBSD.org> <0e444e02-fc35-cfa8-ec36-5d8bbb420124@tuxfamily.org> Message-ID: Date: Thu, 11 Jan 2018 13:18:51 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <0e444e02-fc35-cfa8-ec36-5d8bbb420124@tuxfamily.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: fr-FR X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jan 2018 12:26:31 -0000 Hi Mathieu, May I ask you to review it and push this port? If it's OK, I will made the same with Qwt5 after. Regards. Loïc On 04.01.2018 18:37, L.Bartoletti wrote: > 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 >> >> >> > > _______________________________________________ > 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"