Date: Sat, 31 Dec 2011 22:31:25 GMT From: "A.J. Kehoe IV (Nanoman)" <npSLI5K0@nanoman.ca> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/163746: FreeBSD Port x11-toolkits/py-qt4-gui OPTIONSFILE Patch Message-ID: <201112312231.pBVMVPuZ042146@red.freebsd.org> Resent-Message-ID: <201112312240.pBVMeCVV088193@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 163746 >Category: ports >Synopsis: FreeBSD Port x11-toolkits/py-qt4-gui OPTIONSFILE Patch >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Dec 31 22:40:12 UTC 2011 >Closed-Date: >Last-Modified: >Originator: A.J. Kehoe IV (Nanoman) >Release: 8.2 >Organization: Nanoman's Company >Environment: FreeBSD localhost 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:07:27 UTC 2011 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: Some ports management scripts override the default "OPTIONSFILE" for each port by defining it as an environment variable. In the x11-toolkits/py-qt4-gui Makefile, this is overridden, thus causing problems for some ports management scripts. >How-To-Repeat: 1. Install a ports management script that overrides the default "OPTIONSFILE" for each port. 2. cd /usr/ports/x11-toolkits/py-qt4-gui 3. OPTIONSFILE="/example/options" make config 4. Notice that "/example/options" was not created. >Fix: mv /usr/ports/x11-toolkits/py-qt4-gui/Makefile /usr/ports/x11-toolkits/py-qt4-gui/Makefile.old sed 's/^OPTIONSFILE=/OPTIONSFILE?=/' /usr/ports/x11-toolkits/py-qt4-gui/Makefile.old > /usr/ports/x11-toolkits/py-qt4-gui/Makefile Patch attached with submission follows: --- ports/x11-toolkits/py-qt4-gui/Makefile.old 2011-10-16 18:50:48.000000000 -0400 +++ ports/x11-toolkits/py-qt4-gui/Makefile 2011-12-31 17:29:23.000000000 -0500 @@ -31,7 +31,7 @@ TRACING "Enable tracing in generated code" off PATCHDIR= ${PORTSDIR}/devel/py-qt4-core/files -OPTIONSFILE= ${PORT_DBDIR}/py-qt4-${PORTNAME}/options +OPTIONSFILE?= ${PORT_DBDIR}/py-qt4-${PORTNAME}/options SIPDIR= ${PREFIX}/share/py-sip QSCIDIR= ${PREFIX}/share/qt4/qsci CONFIGURE_ENV+= PYQT4_COMPONENT="${PORTNAME}" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112312231.pBVMVPuZ042146>