ports/138824: graphics/yagf: fix build on 6.x, relax qt4 dependencies

Max Brazhnikov makc at FreeBSD.org
Mon Sep 14 21:40:08 UTC 2009


>Number:         138824
>Category:       ports
>Synopsis:       graphics/yagf: fix build on 6.x, relax qt4 dependencies
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 14 21:40:08 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Max Brazhnikov
>Release:        FreeBSD 8.0-BETA4 i386
>Organization:
>Environment:
FreeBSD luna.dio.ru 8.0-BETA4 FreeBSD 8.0-BETA4 #0: Thu Sep 10 21:47:33 MSD 2009     root at luna.dio.ru:/usr/obj/usr/freebsd/8/src/sys/LUNA  i386
>Description:
- fix build on 6.x
- don't depend on qt4 build tools.
- bump PORTREVISION
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/graphics/yagf/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	14 Sep 2009 16:29:46 -0000	1.1
+++ Makefile	14 Sep 2009 21:28:33 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	yagf
 PORTVERSION=	0.8.1
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	http://symmetrica.net/cuneiform-linux/
 
@@ -22,13 +23,14 @@
 USE_GNOME=	pkgconfig
 INSTALLS_ICONS=	yes
 USE_QT_VER=	4
-QT_COMPONENTS=	corelib gui imageformats linguist moc qmake rcc uic
+QT_COMPONENTS=	corelib gui imageformats linguist_build \
+		moc_build qmake_build rcc_build uic_build
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 CFLAGS+=	-I${LOCALBASE}/include
 
 .include <bsd.port.pre.mk>
-.if ${OSVERSION}<700000
-IGNORE=		does not compile at 6.x
+.if ${OSVERSION}<700042
+CMAKE_USE_PTHREAD=	yes
 .endif
 .include <bsd.port.post.mk>


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



More information about the freebsd-ports-bugs mailing list