[MacPorts] #14761: Cannot build proctools on Leopard
MacPorts
noreply at macports.org
Mon Jun 2 10:23:58 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 openspecies at gmail.com):
Replying to [comment:9 openspecies at gmail.com]:
> Replying to [comment:8 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!
>
> yep I think that's possible, I only digg few minutes into proctools src,
> there are also some deprecated warnings from bsd.make, it's only a quick
patch, anyway,
> it's perfectible using APPLE macro and the OS Version, no matter, :) THX
>
My last comment: proctools need a src maintainer,
a request to the author should be the right answer.
Cheers!
--
Ticket URL: <http://trac.macports.org/ticket/14761#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list