[MacPorts] #14761: Cannot build proctools on Leopard
MacPorts
noreply at macports.org
Mon Jun 2 00:22:04 PDT 2008
#14761: Cannot build proctools on Leopard
---------------------------------+------------------------------------------
Reporter: akira at macports.org | Owner: akira at macports.org
Type: defect | Status: assigned
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: | Keywords: leopard proctools kvm
---------------------------------+------------------------------------------
Comment (by simmel at soy.se):
Replying to [comment:7 openspecies at gmail.com]:
> Replying to [comment:6 simmel at soy.se]:
> > Try that akira. It works for me(TM).
>
> Hi Akira, patch the include in proctools.h (kvm.h remove it)
> and
>
> #define USE_SYSCTL
>
> a nicer way is:
>
> #ifdef __APPLE__
> #include AvailabilityMacros.h
>
>
> Cheers!
Cool, much better patch than mine. To take it one step further, make -lkvm
depend on USE_KVM too, but maybe that's not possible/very hard?
Anyway, good work!
--
Ticket URL: <http://trac.macports.org/ticket/14761#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list