Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jan 2004 08:45:11 +0100 (CET)
From:      Kay Lehmann <kay_lehmann@web.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/61111: [Update Port] editors/texmaker: Unbreak build
Message-ID:  <200401090745.i097jBRB097358@bippes.finkenkrug.ev>
Resent-Message-ID: <200401090750.i097oHKa034298@freefall.freebsd.org>

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

>Number:         61111
>Category:       ports
>Synopsis:       [Update Port] editors/texmaker: Unbreak build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 08 23:50:17 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Kay Lehmann
>Release:        FreeBSD 5.2-RC i386
>Organization:
>Environment:
System: FreeBSD bippes.finkenkrug.ev 5.2-RC FreeBSD 5.2-RC #11: Wed Dec 31 14:06:56 CET 2003 kay@bippes.finkenkrug.ev:/usr/obj/usr/src/sys/bippes i386
>Description:
Since major changes to qt-port build fails because of 2 issues:

1. qmake isn't installed bu qt anymore, so we need to set BUILD_DEPENDS.
2. We need to set QTMAKESPEC or add -spec to commandlineargs of qmake. Don't 
 know which is best.

This superseeds pr=ports/61018 . I decided to write a new pr, because he forgot
forgot to add BUILD_DEPENDS. 
>How-To-Repeat:
Try to build texmaker with and without qmake installed.
>Fix:

--- Makefile.diff begins here ---
--- Makefile.orig	Fri Jan  9 08:21:53 2004
+++ Makefile	Fri Jan  9 08:36:13 2004
@@ -15,12 +15,15 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	LaTeX Development Environment
 
+BUILD_DEPENDS=	qmake:${PORTSDIR}/devel/qmake
+
 USE_BZIP2=	yes
 USE_QT_VER=	3
 
 do-build:
 	@cd ${WRKSRC} && \
-	 qmake -makefile -unix "LIBS+=-lm -lqt-mt" texmaker.pro && \
+	 qmake -makefile -spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
+		-unix "LIBS+=-lm -lqt-mt" texmaker.pro && \
 	 ${SETENV} QTDIR=${X11BASE} make
 
 do-install:
--- Makefile.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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