ports/67174: [ maintainer ] emulators/pearpc: qt gui support

Roman Bogorodskiy bogorodskiy at inbox.ru
Tue May 25 12:50:51 UTC 2004


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



More information about the freebsd-ports-bugs mailing list