Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jan 2004 15:51:06 +0100 (CET)
From:      Ulrich Spoerlein <q@uni.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ijliao@FreeBSD.org
Subject:   ports/61018: [PATCH] editors/texmaker: Fix qmake configure
Message-ID:  <200401071451.i07Ep6L6004239@roadrunner.q.local>
Resent-Message-ID: <200401071500.i07F0ZKD011730@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         61018
>Category:       ports
>Synopsis:       [PATCH] editors/texmaker: Fix qmake configure
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 07 07:00:35 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ulrich Spoerlein
>Release:        FreeBSD 5.2-RC i386
>Organization:
>Environment:
System: FreeBSD roadrunner 5.2-RC FreeBSD 5.2-RC #1: Thu Dec 18 10:30:44 CET 2003
>Description:

On my system, building texmaker fails as follows:
===>  Extracting for texmaker-1.0
>How-To-Repeat:
>Fix:

--- texmaker-1.0.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/editors/texmaker/Makefile,v
retrieving revision 1.1
diff -u -u -r1.1 Makefile
--- Makefile	29 Dec 2003 08:04:10 -0000	1.1
+++ Makefile	7 Jan 2004 14:29:26 -0000
@@ -20,6 +20,7 @@
 
 do-build:
 	@cd ${WRKSRC} && \
+	 ${SETENV} QTMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
 	 qmake -makefile -unix "LIBS+=-lm -lqt-mt" texmaker.pro && \
 	 ${SETENV} QTDIR=${X11BASE} make
 
--- texmaker-1.0.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:
 >> Checksum OK for texmaker_1.0.tar.bz2.
 ===>  Patching for texmaker-1.0
 ===>   texmaker-1.0 depends on file: /usr/X11R6/bin/moc - found
 ===>  Configuring for texmaker-1.0
 ===>  Building for texmaker-1.0
 QMAKESPEC has not been set, so configuration cannot be deduced.
 Error processing project file: /vol/obj/usr/ports/editors/texmaker/work/texmaker_1.0/texmaker.pro
 
 I rebuild qmake and qt and it somehow still failed with that
 error message. I know nothing about qmake, but the following
 patch fixed the build for me.
 
 Dunno if it is in any way the correct fix.
 Port creator cc'd.
 



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