[MacPorts] #52166: gpgme: relax dependency and fix unit tests depending upon gnupg

MacPorts noreply at macports.org
Sun Sep 4 02:12:29 CEST 2016


#52166: gpgme: relax dependency and fix unit tests depending upon gnupg
----------------------+----------------------
  Reporter:  blair@…  |      Owner:  devans@…
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.3.4
Resolution:           |   Keywords:
      Port:  gpgme    |
----------------------+----------------------

Comment (by devans@…):

 I haven't looked into base deeply enough to tell one way or the other, but
 I have observed that if a port is a run dependency and it is installed but
 not active, if you run the phases one by one it won't get activated until
 you get to destroot.  Similarly, build and lib dependencies won't be
 checked until you get to configure.

 I suppose that the truly correct approach (assuming there's not a secret
 depends_test keyword that I don't know about) would be to declare it as
 both a build AND a run time dependency but I thought that although gpgme
 doesn't link with with gnupg2, depends_lib would cover both cases and be
 simpler.

 Is there a particular problematic situation that you are trying to avoid
 here or is this just a matter of semantics?  That is, 'not a linked
 library' == 'not a depends_lib'.

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


More information about the macports-tickets mailing list