From owner-freebsd-ports@FreeBSD.ORG Sun Apr 4 09:47:57 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F12B106566C for ; Sun, 4 Apr 2010 09:47:57 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout1.freenet.de (mout1.freenet.de [IPv6:2001:748:100:40::2:3]) by mx1.freebsd.org (Postfix) with ESMTP id B86328FC14 for ; Sun, 4 Apr 2010 09:47:56 +0000 (UTC) Received: from [195.4.92.22] (helo=12.mx.freenet.de) by mout1.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.72 #3) id 1NyMQt-0000ty-BZ; Sun, 04 Apr 2010 11:47:55 +0200 Received: from p57ae20aa.dip0.t-ipconnect.de ([87.174.32.170]:11018 helo=ernst.jennejohn.org) by 12.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.72 #3) id 1NyMQt-00087a-1u; Sun, 04 Apr 2010 11:47:55 +0200 Date: Sun, 4 Apr 2010 11:47:53 +0200 From: Gary Jennejohn To: Eitan Adler Message-ID: <20100404114753.60db7cd4@ernst.jennejohn.org> In-Reply-To: References: X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: help with converting from configure to cmake (devel/allegro) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Apr 2010 09:47:57 -0000 On Sun, 4 Apr 2010 10:03:31 +0300 Eitan Adler 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