![](https://secure.gravatar.com/avatar/4366a953cb5cbbb13f035c7d94ed97e2.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi Martin, for that purpose I maintain a git repository of patches, which are added/applied by the "ports" program. Then pkgmk and prt-get pick it up: https://git.eckner.net/Erich/crux-patches/ The patch for core/ports adds exactly this functionality, while the other three patched ports add functionality which I was missing. The idea is, that *.patch files are applied in the ports directory (e.g. a patch to the Pkgfile) and *.new files are simply added to the ports directory (e.g. new patches, that should be applied during the compilation). The system is not perfect, but for minor changes (e.g. adding an option in the Pkgfile) it's pretty straight forward. regards, Erich On Mon, 20 Jun 2022, Joacim wrote:
Hi.
If the configure script don't pick up on extra features and libraries on its own, I would maintain my own version of the port in /usr/ports/mine or similar. Custom ports should be listed by ports -d when the installed version of the port is older than what can be find in core/opt/contrib.
-- Joacim <hi@joac.im>
On Mon, 2022-06-20 at 21:25 +0200, Martin Michel wrote:
Hi there,
I wonder how you long-time CRUXers handle the case if a package from core/opt/xorg/contrib port does not suit your needs?
I read it is discouraged to create duplicate (local) packages but alternatives like installing local builds directly in /usr/local, /opt or ~/.local seem also suboptimal.
For example, I need sftp support in libcurl which needs linking against libssh. This is not configured in the official port. So I have to create my own solution and I want it to integrate as smooth as possible with the ports systems and keep CRUX's philosophy. What do you recommend?
Thanks for your input!
Best regards, Martin _______________________________________________ CRUX mailing list CRUX@lists.crux.nu https://lists.crux.nu/mailman/listinfo/crux
CRUX mailing list CRUX@lists.crux.nu https://lists.crux.nu/mailman/listinfo/crux
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE3p92iMrPBP64GmxZCu7JB1Xae1oFAmKxUUsACgkQCu7JB1Xa e1pthQ/7BQYyPrVASEmXIXLNTcm5EcYlqDchL4UbpzQb5aXSREsOpqoYKAo67k1u wum0ywDcEnW2g5W6aRFQ1AxoeP5aEh3+3ldOMouGdP1uF0UQyvx2Z9Z7Yd2jSges uRstCyNVWQ6vRUHifUC62ujsUbQGbbh/1OIPVvI46MEfSlUYYu1BD3IkbxtExRh2 AneXIHALxA8J5FrosVidq+hg2+2R+aCrE/xCeH4ptj3PNpYkDW+HM4fRo4vEo7Wx ERHayZOHc3O6VjNiT+q2wDiZys80PvjcYsq/qQecUh3j6T5tDDKEOwPFH3XZDaTg 0d/PGQi7BE+oZLzY+2mHI83W+v6KwRIytWKbHdwg6v44jrXHi9cXUBRiPFZ/gbjc eMGBJiXSILSMLWS7Vh1TS+sUbYFzDhrrUYK6MqnP+1JtIEyEH6X4EfOaeZ455xSl 3DMFpaxo94gl9jiSfieP+TaXVPxkVNgHr2xr+Rjzz6V8+MMgmYY3eFqC/1XbSAPU z3yV3I1Vq4N0n/9fq98H30EiP8GmeI3lSpsuQKS+TQA8lYRC6AfRLyok7bz5GOew ByxcvJ3XRPlG+X+B9aX795/soz7bnOFb59353jBdtbAx8Z6JkvrYDgG8htxqBX4P VVCEwrhSuA4fqW3D0TYRmaFhlJsTrH6xkhuZTyOvemcATJLN+Ns= =XNQw -----END PGP SIGNATURE-----