ports/61111: [Update Port] editors/texmaker: Unbreak build

Kay Lehmann kay_lehmann at web.de
Fri Jan 9 07:50:23 UTC 2004


>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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list