Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jun 2021 20:02:25 +0200
From:      Thierry Thomas <thierry@freebsd.org>
To:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: Forcing options in required ports
Message-ID:  <YLkZMdEY1pzZ1ciO@graf.pompo.net>
In-Reply-To: <30e16b2d-0e65-9fd6-37e0-103965731c16@groumpf.org>
References:  <30e16b2d-0e65-9fd6-37e0-103965731c16@groumpf.org>

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

--NrPEpLCBhiwCAkCR
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Le jeu.  3 juin 21 =C3=A0 19:34:28 +0200, Xavier Humbert <xavier@groumpf.or=
g>
 =C3=A9crivait=C2=A0:

> Hi,

Hello,

> I need to add a BUILD_DEPENDS to a port (p5-FusionInventory-Agent,=20
> actually) with specifics options required by the port which requires it
>=20
> This lead to 12 questions :
>=20
> 1- Is there a way to specify options port in the Makefile ?
> 2- As a consequence, the port cannot be fetched from packages, it *must*=
=20
> be built from ports. How to force this ?

The usual solution is to make a slave port from this port, with the
required options, and make your new port depend on this slave port.
But warning: the original port and the new slave will conflict, and that
might result in further conflicts!

Another solution is to negociate with the maintainer, and see if he
accepts to set your options by default=E2=80=A6

(When sub-packages will be a thing, this could be a hird solution in
some cases)

Regards.
--=20
Th. Thomas.

--NrPEpLCBhiwCAkCR
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJ8BAEBCgBmBQJguRkxXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFNTM2QkU4NTM4NTM5OUQwMEI2RkFBNzZG
MUM1MTZCM0M4MzU5NzUzAAoJEPHFFrPINZdThQIP/0r2JOwDtrfWw/Y0I5EwahDB
vcrvnS54rVTFuiIZRdSnNFCRtjmXI/25Z8C7SV8izVhCnVJEh0wtZ/xQBSEi5Iix
gtCdRPOk5myEZQnrDgkGKv1Glo8WygT1KD5Ul9/HIlGGxktsVVCe0dzzFFbEoXOz
JVaFPxGypuUJKjbQUJAQz2AeTR/Ny/3YyR1SfEVi4l2abexfg+23/78MhPitdkRy
4Q1VAo1tdRMNSU/Ozhq4PmHSTEEi9jCdC7KKyFLMT6NBOLJ1Y6on6khDLQJ9WnAt
na/cNfqH05o4V/TxfAh9I2t+9ADlOepyB5sMZQ/yoLo7xVfHziJL9EP7b3Y3O+oU
yOC6aGSjONXlNQsOiePxqUn3P8WVg4WWBcDfR0H7H/skkmVxCBRzNj9l6Rw0EsYn
5wpUc9gVpj/3ygvV1SiuXg31fa7UW/dYH+0BcBpKzw2Td6EEOq8xM584Raj112q5
fwLxKHyyjp/T4/k701IBp3LHmwvx6ohUa8DGIr6HtFW2X4L3WdbU5zdefZJZDT+S
sKtnxkz9SRTXSSb+zrx49roqziDE5ZYCf1uCplFDGzQY5+feWNLT9NRl9xA4MPQ6
IaLbHi145SY31HqxHVLXxXxtOcLIrZrCkrPeG351BR3uR6XmY4DVMaSUiAA4/phX
wbUqRXjf2y7xFEPlgz88
=lW7+
-----END PGP SIGNATURE-----

--NrPEpLCBhiwCAkCR--



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