Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Sep 2007 21:45:36 +0200
From:      Danny Pansters <danny@ricin.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: qmake problems
Message-ID:  <200709152145.36626.danny@ricin.com>
In-Reply-To: <46EBD929.23113.9DCC389@dan.langille.org>
References:  <46EBC46E.32301.98BC921@dan.langille.org> <46EBD929.23113.9DCC389@dan.langille.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 15 September 2007 19:07:53 Dan Langille wrote:
> On 15 Sep 2007 at 11:39, Dan Langille wrote:
> > [reposting now that the URL below works ]
> >
> > Folks:
> >
> > I'm trying to create a new port (sysutils/bacula-bat).  I'm having
> > trouble getting it to compile.  The error I see is:
> >
> > config.status: executing default commands
> > Creating bat Makefile
> > qmake: not found
> >
> > It seems the vendor code for this new port wants to run qmake, and it
> > seems like I should make it want /usr/local/sbin/qmake-qt4 instead.
> > Is that reasonable?
>
> I patched to force use of qmake-qt4.  Now the blockage is:
>
> ==>Entering directory /usr/home/dan/src/bacula-bat/work/bacula-
> 2.2.4/src/qt-console
> /usr/local/bin/qmake-qt4 -unix -o Makefile bat.pro
> Cannot find file: bat.pro.
> *** Error code 2
>
> Yes, bat.pro exists there.
>
> More details here:
>   http://marc.info/?l=bacula-devel&m=118987568515117&w=2
>
> If you can help, thank you.

Use:

USE_QTVER=		4
QT_COMPONENTS=		qmake

That should put qmake-qt4 and other vars in CONFIGURE_ENV.

HTH,

Dan




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