[MacPorts] #44745: podofo: unnecessary cppunit dependency

MacPorts noreply at macports.org
Sun Aug 24 08:38:09 PDT 2014


#44745: podofo: unnecessary cppunit dependency
---------------------------+----------------------
  Reporter:  ryandesign@…  |      Owner:  devans@…
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:  haspatch
      Port:  podofo        |
---------------------------+----------------------
Changes (by devans@…):

 * status:  new => assigned
 * version:  2.3.1 =>


Comment:

 Yes, cppunit is only needed for unit tests which can be disabled by
 setting PODOFO_BUILD_LIB_ONLY=TRUE.  Once that's done, the check for
 cppunit is disabled along with the tests and the dependency can be
 removed.  Unfortunately, this also disables the build of the command line
 tools so I'm not it favor of this approach.

 If the dependency is just removed as you suggest, then the port will build
 the tests if cppunit happens to be installed or not if not.  This results
 in the same behavior as above -- if no cppunit, no  tools.

 So probably the best thing is to just make cppunit a build dependency.

 I take it, cppunit is not your favorite port.  Or are you lobbying to set
 test.run yes?

-- 
Ticket URL: <https://trac.macports.org/ticket/44745#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list