Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jul 2016 23:36:45 +0000
From:      "Montgomery-Smith, Stephen" <stephen@missouri.edu>
To:        "freebsd-ports@freebsd.org" <freebsd-ports@FreeBSD.org>, "stephen@FreeBSD.org" <stephen@FreeBSD.org>
Subject:   Re: How to make installation conditional in pkg-plist
Message-ID:  <e54b3512-f34b-1f1e-c545-5435fc53f57b@missouri.edu>
In-Reply-To: <20160726171358.GP47088@graf.pompo.net>
References:  <6dc97a24-9f13-7538-4e43-efde0f461f1d@missouri.edu> <20160726171358.GP47088@graf.pompo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--cNC7wcHNx9bm1KRPo8qHsAlRVjf1txiSL
Content-Type: multipart/mixed; boundary="40f7tP00d8QKUhGrV1dXCmmUBWNnhFXaU"
From: Stephen Montgomery-Smith <stephen@missouri.edu>
To: "freebsd-ports@freebsd.org" <freebsd-ports@FreeBSD.org>,
 "stephen@FreeBSD.org" <stephen@FreeBSD.org>
Message-ID: <e54b3512-f34b-1f1e-c545-5435fc53f57b@missouri.edu>
Subject: Re: How to make installation conditional in pkg-plist
References: <6dc97a24-9f13-7538-4e43-efde0f461f1d@missouri.edu>
 <20160726171358.GP47088@graf.pompo.net>
In-Reply-To: <20160726171358.GP47088@graf.pompo.net>

--40f7tP00d8QKUhGrV1dXCmmUBWNnhFXaU
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 07/26/2016 12:13 PM, Thierry Thomas wrote:
> Le mar 26 jul 16 =E0 18:57:16 +0200, Montgomery-Smith, Stephen <stephen=
@missouri.edu>
>  =E9crivait :
>=20
>> Currently the ports math/vtk6 and science/paraview both try to install=
=20
>> the same file: share/cmake/hdf5/libhdf5.settings.  It is described in =

>> this bug report.
>>
>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211334
>>
>> My proposed solution is that each port only installs the file if it=20
>> doesn't already exist, and only deinstalls the file if it installed it=
=2E=20
>> I am planning to figure out some kind of @exec solution for the pkg-pl=
ist.
>>
>> Has anyone already solved this problem in other situations?  I prefer =

>> not to reinvent something if good solutions already exist.
>>
>> Failing that, does anyone have good ideas on how to do this, or even=20
>> alternative solutions?
>=20
> This file is already installed by the port science/hdf5, but under
> $PREFIX/lib.
>=20
> I would suggest to:
> - modify science/hdf5 to create a symlink under share/cmake/hdf5
> - patch math/vtk6 and science/paraview to not install this file.
>=20
> Regards,
>=20

math/vtk6 doesn't call hdf5 as a dependency, since it uses it's own home
grown version.  science/paraview does have hdf5 as a dependency, but I
don't know if it actually needs it.

One possibility is to simply delete share/cmake/hdf5/libhdf5.settings
from the pkg-plist for math/vtk6.  What does itdo anyway?

Stephen


--40f7tP00d8QKUhGrV1dXCmmUBWNnhFXaU--

--cNC7wcHNx9bm1KRPo8qHsAlRVjf1txiSL
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.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJXl/QMAAoJECuXJ2rgj9mCmbsH/i9n2Ov8VM1VIB4PYIduF1N0
/uot3vNIT3GknQO+jFHQ52NluY45VcGF7S6CN382BhOgDX0VxuCwWSrcQDpQBSEv
vj7wocLN9pAKDyQIFphkJ4Kohfbuzk7FkmPiKBABOOSxBBPqjefrYdbO+zXDN4+e
eApmNNa7msNwbypv+CIneCtjAWbpFqA3VwRKrV6aJfRPTveM8tWml3QndXaT938t
+2IIpmpk+8b0495AC5ZQPk7E2G318E9d4IamALnzL0CzQGeP8/+YM1r0p0NCfPA3
1wtmh+o+8hXEL3q0pz3HD54VtbVTCTxYKvrIIW+8FtoYKjtDWKcI3GNWcfsqK/I=
=6WPd
-----END PGP SIGNATURE-----

--cNC7wcHNx9bm1KRPo8qHsAlRVjf1txiSL--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e54b3512-f34b-1f1e-c545-5435fc53f57b>