Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Apr 2010 11:47:53 +0200
From:      Gary Jennejohn <gary.jennejohn@freenet.de>
To:        Eitan Adler <eitanadlerlist@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: help with converting from configure to cmake (devel/allegro)
Message-ID:  <20100404114753.60db7cd4@ernst.jennejohn.org>
In-Reply-To: <j2pa0777e081004040003yc76af006t31b9828989caa166@mail.gmail.com>
References:  <a0777e081003251505w3d787322sc709a3562c3d6b64@mail.gmail.com> <j2pa0777e081004040003yc76af006t31b9828989caa166@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 4 Apr 2010 10:03:31 +0300
Eitan Adler <eitanadlerlist@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100404114753.60db7cd4>