[MacPorts] #40662: libfaketime

MacPorts noreply at macports.org
Fri Oct 4 08:46:40 PDT 2013


#40662: libfaketime
--------------------------+--------------------------------
  Reporter:  wolf@…       |      Owner:  macports-tickets@…
      Type:  submission   |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.2.0
Resolution:               |   Keywords:
      Port:  libfaketime  |
--------------------------+--------------------------------

Comment (by wolf@…):

 > If you use the github-1.0 PortGroup, you shouldn’t set `fetch.type` or
 `git.*` anymore. The PortGroup downloads a tarball. See the
 [[source:trunk/dports/sysutils/fakeroot/Portfile at 111065|fakeroot
 Portfile]] for a usage example. You’ll have to add checksums, and the
 exact way you use versions/committishes depends on your specific
 repository. Feel free to ask for help on [[MailingLists|macports-dev]] if
 you need it.

 My bad, sorry. I fixed the github.setup line, added checksums, and removed
 the other fetch.*/git.* lines.


 > > and configure.compiler statements
 > That’s not quite the point of UsingTheRightCompiler. The idea is not to
 force a certain compiler (unless you have to); it’s to make sure that the
 build respects whichever compiler MacPorts tries to use. Since this port
 does not use a configure phase, you will have to pass the compiler and any
 build flags to your makefile manually, either using the environment
 (`build.env`) or arguments (`build.args`). Again, ask on macports-dev for
 help.

 The distfile includes an OSX-specific Makefile, which needs to be used
 instead of the default Makefile, and currently the whole thing only works
 with clang (not gcc or others; that's a limitation of the software, not
 related to building it via macports). I changed configure.compiler to
 macports-clang (therefore supporting port select).

 However, setting build.cmd to "make -f Makefile.OSX" was my only
 successful way of getting it to work, modifying other build.* settings did
 not pass "-f Makefile.OSX" to the make command.

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


More information about the macports-tickets mailing list