From danny@ricin.com  Tue May  9 15:57:14 2006
Return-Path: <danny@ricin.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B3F8416A96E
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  9 May 2006 15:57:14 +0000 (UTC)
	(envelope-from danny@ricin.com)
Received: from smtpq2.tilbu1.nb.home.nl (smtpq2.tilbu1.nb.home.nl [213.51.146.201])
	by mx1.FreeBSD.org (Postfix) with ESMTP id EE93443D48
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  9 May 2006 15:57:13 +0000 (GMT)
	(envelope-from danny@ricin.com)
Received: from [213.51.146.189] (port=50977 helo=smtp2.tilbu1.nb.home.nl)
	by smtpq2.tilbu1.nb.home.nl with esmtp (Exim 4.30)
	id 1FdUaG-0005lk-Jc; Tue, 09 May 2006 17:57:12 +0200
Received: from cp464173-a.dbsch1.nb.home.nl ([84.27.215.228]:59494 helo=_HOSTNAME_)
	by smtp2.tilbu1.nb.home.nl with smtp (Exim 4.30)
	id 1FdUaF-0007qs-5H; Tue, 09 May 2006 17:57:11 +0200
Received: by _HOSTNAME_ (sSMTP sendmail emulation); Tue,  9 May 2006 17:56:27 +0200
Message-Id: <20060509155713.EE93443D48@mx1.FreeBSD.org>
Date: Tue,  9 May 2006 17:56:27 +0200
From: "Danny Pansters" <danny@ricin.com>
Reply-To: Danny Pansters <danny@ricin.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: danny@ricin.com
Subject: [maintainer] devel/py-sip: remove unneeded qt depends, cleanup
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         97044
>Category:       ports
>Synopsis:       [maintainer] devel/py-sip: remove unneeded qt depends, cleanup
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    itetcu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 09 16:00:38 GMT 2006
>Closed-Date:    Fri May 12 02:22:52 GMT 2006
>Last-Modified:  Fri May 12 02:22:52 GMT 2006
>Originator:     Danny Pansters
>Release:        FreeBSD 6.1-RC i386
>Organization:
>Environment:
System: FreeBSD desktop.homenet 6.1-RC FreeBSD 6.1-RC #0: Fri Apr 14 22:14:32 CEST 2006 danny@desktop.homenet:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	- Remove "without Qt support" knob; SIP always has Qt (signal/slot) support.
	- Remove dependencies for qt/qmake; SIP doesn't need Qt to be installed.
	- Misc cleanup; SIP has a freebsd-g++ buildspec of its own
>How-To-Repeat:
	
>Fix:

	

--- devel::py-sip.diff begins here ---
diff -urN devel/py-sip.old/Makefile devel/py-sip/Makefile
--- devel/py-sip.old/Makefile	Tue May  9 17:43:45 2006
+++ devel/py-sip/Makefile	Tue May  9 17:22:15 2006
@@ -6,6 +6,7 @@
 
 PORTNAME=	sip
 PORTVERSION=	4.4.3
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	http://www.riverbankcomputing.com/Downloads/sip4/ \
 		http://freebsd.ricin.com/ports/distfiles/
@@ -15,19 +16,15 @@
 MAINTAINER=	danny@ricin.com
 COMMENT=	Python to C and C++ bindings generator
 
-BUILD_DEPENDS=	qmake:${PORTSDIR}/devel/qmake
-
 USE_PYTHON=	yes
 
 OPTIONS=	DEBUG "Build with debugging symbols" off \
-		DOCS "Install documentation" on \
-		QT "Enable Qt support" on
+		DOCS "Install documentation" on
 
 DATADIR=	${PREFIX}/share/py-${PORTNAME}
 DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
 OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options
 
-SPEC=		${LOCALBASE}/share/qt/mkspecs/freebsd-g++
 ARGS=		-b ${PREFIX}/bin -d ${PYTHONPREFIX_SITELIBDIR} \
 		-e ${PYTHONPREFIX_INCLUDEDIR} -v ${DATADIR}
 
@@ -41,16 +38,9 @@
 .if defined(WITH_DEBUG)
 ARGS+=		-u
 .endif
-.if defined(WITHOUT_QT)
-ARGS+=		-x
-.else
-BUILD_DEPENDS+=	moc:${PORTSDIR}/x11-toolkits/qt33
-RUN_DEPENDS+=	moc:${PORTSDIR}/x11-toolkits/qt33
-.endif
 
 do-configure:
-	( cd ${WRKSRC} && ${SETENV} QTDIR=${X11BASE} QMAKESPEC=${SPEC} \
-		${PYTHON_CMD} configure.py ${ARGS} )
+	( cd ${WRKSRC} && ${PYTHON_CMD} configure.py ${ARGS} )
 
 post-install:
 .if !defined(NOPORTDOCS) && !defined(WITHOUT_DOCS)
--- devel::py-sip.diff ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->itetcu 
Responsible-Changed-By: itetcu 
Responsible-Changed-When: Tue May 9 19:53:55 UTC 2006 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97044 
State-Changed-From-To: open->closed 
State-Changed-By: itetcu 
State-Changed-When: Fri May 12 02:22:50 UTC 2006 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97044 
>Unformatted:
