From owner-freebsd-ports@FreeBSD.ORG Sat Sep 15 19:46:03 2007 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 826C316A418 for ; Sat, 15 Sep 2007 19:46:03 +0000 (UTC) (envelope-from danny@ricin.com) Received: from smtpq2.tilbu1.nb.home.nl (smtpq2.tilbu1.nb.home.nl [213.51.146.201]) by mx1.freebsd.org (Postfix) with ESMTP id 34E9F13C461 for ; Sat, 15 Sep 2007 19:46:02 +0000 (UTC) (envelope-from danny@ricin.com) Received: from [213.51.146.189] (port=45934 helo=smtp2.tilbu1.nb.home.nl) by smtpq2.tilbu1.nb.home.nl with esmtp (Exim 4.30) id 1IWdab-0003YR-JI for freebsd-ports@freebsd.org; Sat, 15 Sep 2007 21:46:01 +0200 Received: from cp1228410-a.dbsch1.nb.home.nl ([84.27.157.163]:62988 helo=desktop.homenet) by smtp2.tilbu1.nb.home.nl with esmtp (Exim 4.30) id 1IWdaZ-0007mL-1a for freebsd-ports@freebsd.org; Sat, 15 Sep 2007 21:45:59 +0200 From: Danny Pansters To: freebsd-ports@freebsd.org Date: Sat, 15 Sep 2007 21:45:36 +0200 User-Agent: KMail/1.9.7 References: <46EBC46E.32301.98BC921@dan.langille.org> <46EBD929.23113.9DCC389@dan.langille.org> In-Reply-To: <46EBD929.23113.9DCC389@dan.langille.org> X-Face: U%PgEJ2IfD9niTG.6[,9!; !G|I$ZCvvZDD|.X; H*T1xqk>Fc$W?~t]FD@a4))=?utf-8?q?=2EFi=5CCn4!=7D=0A=09?=,u!3+a^.v+%fL2J~SN%'23mIhZ#G#i=[NZv#w*Q& X-AtHome-MailScanner-Information: Please contact support@home.nl for more information X-AtHome-MailScanner: Found to be clean Subject: Re: qmake problems X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Sep 2007 19:46:03 -0000 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