Date: Sat, 31 Dec 2011 22:21:34 GMT From: "A.J. Kehoe IV (Nanoman)" <B7fSevgL@nanoman.ca> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/163744: FreeBSD Port devel/py-qt4-core OPTIONSFILE Patch Message-ID: <201112312221.pBVMLYH1024908@red.freebsd.org> Resent-Message-ID: <201112312230.pBVMUB6d077422@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 163744 >Category: ports >Synopsis: FreeBSD Port devel/py-qt4-core 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:30:11 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 devel/py-qt4-core 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/devel/py-qt4-core 3. OPTIONSFILE="/example/options" make config 4. Notice that "/example/options" was not created. >Fix: mv /usr/ports/devel/py-qt4-core/Makefile /usr/ports/devel/py-qt4-core/Makefile.old sed 's/^OPTIONSFILE=/OPTIONSFILE?=/' /usr/ports/devel/py-qt4-core/Makefile.old > /usr/ports/devel/py-qt4-core/Makefile Patch attached with submission follows: --- ports/devel/py-qt4-core/Makefile.old 2011-10-16 18:50:45.000000000 -0400 +++ ports/devel/py-qt4-core/Makefile 2011-12-31 17:15:49.000000000 -0500 @@ -29,7 +29,7 @@ SIPFILES "Install the QtCore SIP files" on \ TRACING "Enable tracing in generated code" off -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?201112312221.pBVMLYH1024908>