ports/61018: [PATCH] editors/texmaker: Fix qmake configure

Ulrich Spoerlein q at uni.de
Wed Jan 7 15:00:43 UTC 2004


>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.
 



More information about the freebsd-ports-bugs mailing list