From owner-freebsd-ports@freebsd.org Thu Dec 21 16:10:59 2017 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 C0402EA0094 for ; Thu, 21 Dec 2017 16:10:59 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7970A6BFE8 for ; Thu, 21 Dec 2017 16:10:59 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id 8E30EBDD2D; Thu, 21 Dec 2017 17:10:56 +0100 (CET) Received: from ogg.in.absolight.net (ogg.in.absolight.net [79.143.241.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by prod2.absolight.net (Postfix) with ESMTPSA id 55A5EBDD25; Thu, 21 Dec 2017 17:10:56 +0100 (CET) Subject: Re: FLAVOR for Qt4 and Qt5 (was Re: Flavor or not for this port?) To: "L.Bartoletti" , 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> From: Mathieu Arnold Organization: Absolight / The FreeBSD Foundation Message-ID: <778b4f63-48c7-c717-6c9b-f3ca35c5232c@FreeBSD.org> Date: Thu, 21 Dec 2017 17:10:52 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Zf6fIIkm2ALx7Px8JLyB9nw7cdPA5I2cD" 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, 21 Dec 2017 16:10:59 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Zf6fIIkm2ALx7Px8JLyB9nw7cdPA5I2cD Content-Type: multipart/mixed; boundary="gEfuyNnCJ8Az8ua0jbcuH3xLeDUZ8lKlw"; protected-headers="v1" From: Mathieu Arnold To: "L.Bartoletti" , Rainer Hurling Cc: freebsd-ports@freebsd.org Message-ID: <778b4f63-48c7-c717-6c9b-f3ca35c5232c@FreeBSD.org> Subject: Re: FLAVOR for Qt4 and Qt5 (was Re: Flavor or not for this port?) References: <46cbd287-186f-9b92-f2a7-d6884c681040@gwdg.de> <37d007c1-0315-5b23-7357-5dc3fcb836fc@gwdg.de> <92d09009-64b3-695a-2282-5acb6ab169f0@tuxfamily.org> In-Reply-To: --gEfuyNnCJ8Az8ua0jbcuH3xLeDUZ8lKlw Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: fr Le 19/12/2017 =C3=A0 20:48, L.Bartoletti a =C3=A9crit=C2=A0: > 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?=3D ${FLAVORS:[1]} There are a few stuffs that could be simplified, this works for both flavors:| | |PLIST=3D ${PKGDIR}/pkg-plist.${FLAVOR} PLIST_SUB+=3D QT_MKSPECDIR=3Dlib/${FLAVOR}/mkspecs DOCSDIR=3D ${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=3D qwt6-qt5 qt5_CONFLICTS_INSTALL=3D qwt6-qt4 --=20 Mathieu Arnold --gEfuyNnCJ8Az8ua0jbcuH3xLeDUZ8lKlw-- --Zf6fIIkm2ALx7Px8JLyB9nw7cdPA5I2cD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJaO90PXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85Iw1MP/Azq/r9SWy6nvPWCFzch/c8K HEJblKApVIlqyzOVEc7dSM1wc2BzGp2bWtFSut97HlhsDcB2Y7cT3o3tXoKuYNIe zjOOr4LIhL+AbPKFOI9WdqWu4OCNA8sBLFlm/unSd+KslhbEdFPhbBreU63cVThf AdkBGQ5qDh/X5fOVTl9GHpfc7JqBmAJvKZ+EzfQwYz1lC+RpxAHLsImkrekxnTR7 JWmsgrpT/Optug00lBotKqQjdA/Ajsgc8WTu0eV8h7Tk4lMkLF21k+n2ZLMrd2y+ E3tzuGmqgiXKztIdvG8QJeimBGIfCAJtCftYinR5BGi1hYHodXBeCGVJomI5gTT3 Jgmr0cHBDpuNNQj6LPlHz2Q2CJJJM1ywONjwV/BDms9dvznuUQ/RSOLbXpfIcezW 5DYN/D5DeU/eaA2/TPso8MvqPTWuqO36xbVXZDRJv9xGr6lvZgkYDFHC7W/ZSHFr bvIi7gRMwMT7wHKV1p2uPMOqpWb8ximWGejhGn0Gdri5f9NL1L0/SLjz403ScLo3 KRiS2GSa6Y6ROyUh8aE0N4gmLrmyQGKQBrMU5k3sQLvQYgD/V/0d3p+5N6d2IPyC LtcaAp3q4Xs1p0sUSPhcniB3HQFLx51LaNA3PESBi2hS/d9Omwpcp3VdGDmtJ5mV ovr+4wONj3X7R4J9qP7w =Sk8t -----END PGP SIGNATURE----- --Zf6fIIkm2ALx7Px8JLyB9nw7cdPA5I2cD--