From owner-freebsd-ports@FreeBSD.ORG Sun Sep 16 20:02:50 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 CDFDF16A476 for ; Sun, 16 Sep 2007 20:02:50 +0000 (UTC) (envelope-from dan@langille.org) Received: from supernews.unixathome.org (supernews.unixathome.org [216.168.29.4]) by mx1.freebsd.org (Postfix) with ESMTP id 4680A13C478 for ; Sun, 16 Sep 2007 20:02:50 +0000 (UTC) (envelope-from dan@langille.org) Received: from localhost (localhost [127.0.0.1]) by supernews.unixathome.org (Postfix) with ESMTP id 251431701A; Sun, 16 Sep 2007 16:02:50 -0400 (EDT) X-Virus-Scanned: amavisd-new at unixathome.org Received: from supernews.unixathome.org ([127.0.0.1]) by localhost (supernews.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VmsC6p75NFPz; Sun, 16 Sep 2007 16:02:47 -0400 (EDT) Received: from bast.unixathome.org (bast.unixathome.org [76.110.86.209]) by supernews.unixathome.org (Postfix) with ESMTP id 486AF17029; Sun, 16 Sep 2007 16:02:47 -0400 (EDT) Received: from [10.55.0.99] (wocker.unixathome.org [10.55.0.99]) by bast.unixathome.org (Postfix) with ESMTP id C09D0B93F; Sun, 16 Sep 2007 16:02:46 -0400 (EDT) From: "Dan Langille" To: Danny Pansters Date: Sun, 16 Sep 2007 16:02:46 -0400 MIME-Version: 1.0 Message-ID: <46ED53A6.5799.FA23907@dan.langille.org> Priority: normal X-mailer: Pegasus Mail for Windows (4.41) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Cc: freebsd-ports@freebsd.org 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: Sun, 16 Sep 2007 20:02:51 -0000 Danny Pansters wrote: > USE_QTVER= 4 > QT_COMPONENTS= qmake > > That should put qmake-qt4 and other vars in CONFIGURE_ENV. That puts qmake-qt4 into ${QMAKE}. This allowed me to change the vendor code patches to use that variable instead of harcoding the path to qmake. The following error persists: > ==>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 To debug this, I put an echo `pwd` before qmake is invoked. The output is: /usr/home/dan/src/bacula-bat/work/bacula-2.2.4/src/qt-console/obj bat.pro is one directory up. Ideas? -- Dan Langille - http://www.langille.org/ Available for hire: http://www.freebsddiary.org/dan_langille.php