Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jul 2016 19:13:58 +0200
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        "Montgomery-Smith, Stephen" <stephen@missouri.edu>
Cc:        "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:  <20160726171358.GP47088@graf.pompo.net>
In-Reply-To: <6dc97a24-9f13-7538-4e43-efde0f461f1d@missouri.edu>
References:  <6dc97a24-9f13-7538-4e43-efde0f461f1d@missouri.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--GmiNL4+5WUWrod5m
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Le mar 26 jul 16 =E0 18:57:16 +0200, Montgomery-Smith, Stephen <stephen@mis=
souri.edu>
 =E9crivait=A0:

> 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=20
> this bug report.
>=20
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211334
>=20
> 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.=
=20
> I am planning to figure out some kind of @exec solution for the pkg-plist.
>=20
> Has anyone already solved this problem in other situations?  I prefer=20
> not to reinvent something if good solutions already exist.
>=20
> Failing that, does anyone have good ideas on how to do this, or even=20
> alternative solutions?

This file is already installed by the port science/hdf5, but under
$PREFIX/lib.

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.

Regards,
--=20
Th. Thomas.

--GmiNL4+5WUWrod5m
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQJ8BAEBCgBmBQJXl5pVXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFNTM2QkU4NTM4NTM5OUQwMEI2RkFBNzZG
MUM1MTZCM0M4MzU5NzUzAAoJEPHFFrPINZdTascQALw8mtkL31BsoLtppc1o6/SG
76IT1Lo4Rz/6HZrRw/C2MU9Zm48Sc/4W1sq5sAO2ItAgZtgo1bW3At8s2TQliJNp
woRO7YYdnG/CoqHbpYIN7lvoRM+q2Yi4ZbZw8wK7HbN9QSvFwyiEoNiOo3V0tW3f
XJYc74gWTsMvzFNBdIlptAA3flWb2DqdcEDMzYhMR0puEFBaGuOG15doD6EZFisC
rXWv1qMzDrm+wmE+4tV+lXWmHriTIlRxeZp1oa40ghYM69E4cPjKDQYDVa+nEPd+
IdODGo9oq95Idb0JJtfAUx02peF92LyX1N+gRSIqOz4C+HX76RTcJAP/l8OGhXi9
VCyBujoWJ7WFC1egHREspTsswoATqnNGfNyQcrHEJGTUkwFHXmVa+et8Rrcwv1EJ
+7MRY03EbaDSAoRqId9wUHqpmMwNFBqC/NSfPI3OQEVaX5OwjuZBMtvEpX2LCL62
bHhhKP0c+n6M8A6zwBzWBQV4yUvC9FbnsvWOaty71c+5YwffXv3HDreWXVt+Z2QX
hXFviwFPKGtyIHCS1M28qKfM3gIYZ+yTD68hZSZycqXiXDiY4i9xhAc4l+PBQb+d
2OcjqsfpE0YGIlCamr9iUJlx6ljKE5enEC7YxYmY+SzaHU1VN/JP5O+6y9ila8fH
TITv8P/4ZnlD3pqX1d84
=Kgfb
-----END PGP SIGNATURE-----

--GmiNL4+5WUWrod5m--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160726171358.GP47088>