ports/97044: [maintainer] devel/py-sip: remove unneeded qt depends, cleanup
Danny Pansters
danny at ricin.com
Tue May 9 16:00:52 UTC 2006
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list