[MacPorts] #53496: Documentation? force macports to use my lib instead of formula

MacPorts noreply at macports.org
Sun Feb 5 17:26:34 UTC 2017


#53496: Documentation? force macports to use my lib instead of formula
----------------------------+---------------------------
  Reporter:  gaming-hacker  |      Owner:
      Type:  defect         |     Status:  closed
  Priority:  Normal         |  Milestone:
 Component:  base           |    Version:  2.4.0
Resolution:  wontfix        |   Keywords:  documentation
      Port:                 |
----------------------------+---------------------------
Changes (by neverpanic):

 * status:  new => closed
 * resolution:   => wontfix
 * type:  update => defect
 * port:  all =>


Old description:

> after reading the documentation,
>

> [[[https://guide.macports.org/}}}
>
> i cannot find the answer. i have built and installed my own versions of
> ffmpeg, x265,x264 libs and binaries.  and placed links to them in the
> default macports locations /opt/local/bin, /lib,
>

>
> now i'm installing a opencv which has dependencies on ffmpeg and x265 and
> it fails to install opencv because of the "foreign" libs already.
>
> i'd rather force macports to use my lib than force it to skip a
> dependency.
>
> can someone update the documention?

New description:

 after reading the documentation https://guide.macports.org/

 i cannot find the answer. i have built and installed my own versions of
 ffmpeg, x265,x264 libs and binaries.  and placed links to them in the
 default macports locations /opt/local/bin, /lib,

 now i'm installing a opencv which has dependencies on ffmpeg and x265 and
 it fails to install opencv because of the "foreign" libs already.

 i'd rather force macports to use my lib than force it to skip a
 dependency.

 can someone update the documention?

--

Comment:

 We strongly discourage modifying files in `/opt/local` manually and we do
 not support linking against your own pre-installed versions for the same
 reasons we discourage using `/usr/local` (see wiki:FAQ#usrlocal).

 If you need special copies of ffmpeg, x265 and x264, I suggest you create
 a local portfile repository (see https://guide.macports.org/#development
 .local-repositories) that contains Portfiles for these ports and modify
 the Portfiles to suit your needs.

 We do not support forcing macports to use your custom built copy. As
 you've already noticed, you can skip the dependency.

 Since we do not support this use-case, I will also not update the
 documentation to include it.

--
Ticket URL: <https://trac.macports.org/ticket/53496#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list