help with converting from configure to cmake (devel/allegro)

Gary Jennejohn gary.jennejohn at freenet.de
Sun Apr 4 09:47:57 UTC 2010


On Sun, 4 Apr 2010 10:03:31 +0300
Eitan Adler <eitanadlerlist at gmail.com> wrote:

> I sent this march 26th with no response and after some more extensive
> googling I'm still at a loss as what to do.
> 
> I'm currently the maintainer of devel/allegro which, due to my lack of
> time, is very outdated.
> The allegro team switched to cmake for the recent version. I do not
> know how to enable/disable specific options with cmake in the ports
> system.
> I attached the Makefile I am currently using (which builds perfectly
> without any options enabled). I'm looking for the correct way to
> change the configure_args to something that will actually work.
> 
> If anyone notices anything else of importance please let me know.
> Portlint finds no problems.

Well, I can't really help you, but in bsd.cmake.mk there are CMAKE_ENV
and CMAKE_ARGS which can be set in your Makefile.

There are also numerous ports which set these values and maybe you can
look at some of them and figure it out.

I wasn't able to compile allegro with your Makefile (and no options)
because cmake complained that it couldn't satisfy -ljack, even though
I have /usr/local/lib/libjack.so.  I didn't pursue it.

I also noticed that allegro wants to use -l-pthread for threading, which
obviously can't work.

--
Gary Jennejohn


More information about the freebsd-ports mailing list