Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  9 May 2006 17:56:27 +0200
From:      "Danny Pansters" <danny@ricin.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        danny@ricin.com
Subject:   ports/97044: [maintainer] devel/py-sip: remove unneeded qt depends, cleanup
Message-ID:  <20060509155713.EE93443D48@mx1.FreeBSD.org>
Resent-Message-ID: <200605091600.k49G0d1c033671@freefall.freebsd.org>

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

>Number:         97044
>Category:       ports
>Synopsis:       [maintainer] devel/py-sip: remove unneeded qt depends, cleanup
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 09 16:00:38 GMT 2006
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060509155713.EE93443D48>