Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 May 2004 16:47:24 +0400
From:      Roman Bogorodskiy <bogorodskiy@inbox.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/67174: [ maintainer ] emulators/pearpc: qt gui support
Message-ID:  <E1BSbL1-000Gml-00.bogorodskiy-inbox-ru@mx1.mail.ru>
Resent-Message-ID: <200405251250.i4PCoNkf029299@freefall.freebsd.org>

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

>Number:         67174
>Category:       ports
>Synopsis:       [ maintainer ] emulators/pearpc: qt gui support
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 25 05:50:22 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Roman Bogorodskiy
>Release:        FreeBSD 5.2.1-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD lame.novel.ru 5.2.1-RELEASE-p6 FreeBSD 5.2.1-RELEASE-p6 #2: Tue May 25 13:20:35 MSD 2004 root@lame.novel.ru:/usr/obj/usr/src/sys/NOV i386

>Description:
	QT gui support was added (sorry that I didn't send all improovments for 
	this port at the same time - qt33 takes a long to compile :-)).
>How-To-Repeat:
	
>Fix:

diff -ruN pearpc.bak/Makefile pearpc/Makefile
--- pearpc.bak/Makefile	Tue May 25 15:12:54 2004
+++ pearpc/Makefile	Tue May 25 16:40:28 2004
@@ -7,6 +7,7 @@
 
 PORTNAME=	pearpc
 PORTVERSION=	0.1.2
+PORTREVISION=	1
 CATEGORIES=	emulators
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -21,13 +22,20 @@
 		LDFLAGS="-L${X11BASE}/lib"
 PKGMESSAGE=	${WRKDIR}/pkg-message
 
-.include <bsd.port.pre.mk>
-
 .if defined(WITH_OPTIMIZED_CFLAGS)
 CFLAGS+=	-O3 -ffast-math
 .else
 CONFIGURE_ARGS+=	--disable-fpo
 .endif
+
+.if defined(WITH_QT)
+CONFIGURE_ARGS+=	--enable-gui=qt
+USE_QT_VER=	3
+.else
+CONFIGURE_ARGS+=	--enable-gui=nogui
+.endif
+
+.include <bsd.port.pre.mk>
 
 # jitc_x86 is avaible only on x86
 .if ${ARCH} == "i386"


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1BSbL1-000Gml-00.bogorodskiy-inbox-ru>